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 listJul 3, 2026 08:53Victor MerckléVictor MerckléScore: 4,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 08:544,17821,296,88813,371,00002,121,728stderr
2Jul 3, 2026 08:544,18121,232,45413,380,00002,121,728stderr
3Jul 3, 2026 08:544,19021,232,36713,411,00002,121,728stderr
4Jul 3, 2026 08:544,19021,309,24213,409,00002,121,728stderr
5Jul 3, 2026 08:544,19821,292,62413,436,00002,121,728stderr
6Jul 3, 2026 08:544,20821,727,60213,467,00002,121,728stderr
7Jul 3, 2026 08:544,21421,416,49513,487,00002,121,728stderr
8Jul 3, 2026 08:544,21521,479,55613,488,00002,121,728stderr
9Jul 3, 2026 08:544,22321,430,80013,515,00002,121,728stderr