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 27, 2026 03:52olliecrowolliecrowScore: 12,041Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 03:5411,98646,542,26637,348,0001,009,0002,359,296
2Apr 27, 2026 03:5412,01246,570,62337,428,0001,011,0002,379,776
3Apr 27, 2026 03:5412,02046,641,51336,442,0002,024,0002,375,680
4Apr 27, 2026 03:5412,02546,821,36237,468,0001,012,0002,375,680
5Apr 27, 2026 03:5412,04146,702,65737,518,0001,014,0002,359,296
6Apr 27, 2026 03:5412,04546,650,66038,544,00002,359,296
7Apr 27, 2026 03:5412,06246,802,43138,601,00002,375,680
8Apr 27, 2026 03:5412,06446,740,10537,591,0001,015,0002,359,296
9Apr 27, 2026 03:5412,29046,758,57836,306,0003,025,0002,375,680