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 24, 2025 00:52vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 06:59Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 06:59020,591,26512,837,00002,113,536expected "25000000 ", got "24967232 "
2Jul 4, 2026 06:59020,637,21812,887,00002,113,536expected "25000000 ", got "24967232 "
3Jul 4, 2026 06:59020,741,39512,902,00002,113,536expected "25000000 ", got "24967232 "
4Apr 24, 2025 00:524,14030,147,08513,249,00002,273,280
5Apr 24, 2025 00:534,14225,219,90813,255,00002,531,328
6Apr 24, 2025 00:534,15133,780,96713,284,00002,498,560
7Apr 24, 2025 00:524,15927,855,11313,309,00002,273,280
8Apr 24, 2025 00:524,16925,952,18613,340,00002,531,328
9Apr 24, 2025 00:534,19524,709,09413,424,00002,531,328