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 listApr 23, 2025 07:51vahookvahookError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 07:5700000Error: expected "976634 ", got "976955 "stderr
2Apr 23, 2025 07:444,12831,472,17012,194,0001,016,0002,502,656
3Apr 23, 2025 07:514,13435,667,86013,230,00002,490,368
4Apr 23, 2025 07:444,14627,404,22413,268,00002,498,560
5Apr 23, 2025 07:514,14925,449,68313,276,00002,494,464
6Apr 23, 2025 07:514,15437,571,04012,272,0001,022,0002,273,280
7Apr 23, 2025 07:514,15731,117,74613,303,00002,273,280
8Apr 23, 2025 07:444,16033,227,99213,311,00002,498,560
9Apr 23, 2025 07:444,16127,404,02213,316,00002,498,560
10Apr 23, 2025 07:514,16325,559,60913,322,00002,273,280
11Apr 23, 2025 07:444,17934,356,90213,374,00002,273,280
12Apr 23, 2025 07:514,17931,358,56713,373,00002,498,560
13Apr 23, 2025 07:444,18839,138,44913,402,00002,498,560
14Apr 23, 2025 07:514,19434,444,33413,421,00002,498,560
15Apr 23, 2025 07:514,19929,608,76913,437,00002,273,280
16Apr 23, 2025 07:514,20628,355,66813,459,00002,273,280