Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 30, 2024 17:41AnSaAnSaScore: 5,414Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 17:415,39132,914,12716,237,0001,014,0002,469,888
2Jun 30, 2024 17:415,40535,604,82714,244,0003,052,0002,531,328
3Jun 30, 2024 17:415,40632,464,37715,263,0002,035,0002,478,080
4Jun 30, 2024 17:415,40833,708,01314,253,0003,054,0002,531,328
5Jun 30, 2024 17:415,40944,874,65313,236,0004,072,0002,469,888
6Jun 30, 2024 17:415,40938,791,49712,218,0005,090,0002,469,888
7Jun 30, 2024 17:415,41439,323,44416,306,0001,019,0002,473,984
8Jun 30, 2024 17:415,42538,691,01216,338,0001,021,0002,473,984
9Jun 30, 2024 17:415,42939,770,15715,329,0002,043,0002,531,328
10Jun 30, 2024 17:415,50983,050,65117,628,37302,244,608
11Jun 30, 2024 17:415,51085,418,55017,632,81102,240,512
12Jun 30, 2024 17:415,52980,603,26417,692,07302,252,800