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 05:32Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 05:32020,573,65312,618,00002,113,536expected "25000000 ", got "24991808 "
2Jul 4, 2026 05:32020,591,83612,661,00002,113,536expected "25000000 ", got "24991808 "
3Jul 4, 2026 05:32020,630,65112,685,00002,113,536expected "25000000 ", got "24991808 "
4Apr 28, 2025 02:024,12534,085,94412,184,0001,015,0002,273,280
5Apr 28, 2025 02:024,13625,750,60613,235,00002,498,560
6Apr 28, 2025 02:024,15236,439,03313,285,00002,531,328