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 26, 2026 14:16olliecrowolliecrowScore: 7,130Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2026 14:187,01143,604,94521,418,0001,019,0002,539,520stderr
2Apr 26, 2026 14:187,04430,609,05821,517,0001,024,0002,359,296stderr
3Apr 26, 2026 14:187,09630,863,02521,678,0001,032,0002,371,584stderr
4Apr 26, 2026 14:187,12442,013,97119,825,0002,973,0002,547,712stderr
5Apr 26, 2026 14:187,13031,002,95920,835,0001,984,0002,375,680stderr
6Apr 26, 2026 14:187,13131,015,77919,844,0002,976,0002,367,488stderr
7Apr 26, 2026 14:187,13830,951,62821,805,0001,038,0002,359,296stderr
8Apr 26, 2026 14:187,16931,082,03919,950,0002,992,0002,375,680stderr
9Apr 26, 2026 14:187,35030,836,96520,454,0003,068,0002,375,680stderr