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 28, 2025 02:02vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 06:01Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 06:01020,606,26412,682,00002,113,536expected "25000000 ", got "24991808 "
2Jul 4, 2026 06:01020,693,31412,732,00002,113,536expected "25000000 ", got "24991808 "
3Jul 4, 2026 06:01020,701,48112,729,00002,113,536expected "25000000 ", got "24991808 "
4Apr 28, 2025 02:024,13830,923,48613,241,00002,502,656
5Apr 28, 2025 02:024,15137,918,40413,282,00002,273,280
6Apr 28, 2025 02:024,15430,593,57913,292,00002,490,368