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 01:22vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 06:30Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 06:30020,600,82312,794,00002,113,536expected "25000000 ", got "24967232 "
2Jul 4, 2026 06:30020,632,39012,814,00002,113,536expected "25000000 ", got "24967232 "
3Jul 4, 2026 06:30020,747,19112,865,00002,113,536expected "25000000 ", got "24967232 "
4Apr 24, 2025 01:224,14226,534,25013,253,00002,273,280
5Apr 24, 2025 01:224,15825,427,39613,306,00002,494,464
6Apr 24, 2025 01:224,17826,398,21813,371,00002,527,232