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 6, 2026 22:29Victor MerckléVictor MerckléScore: 4,115Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 22:294,10821,157,97913,148,000024,576stderr
2Jul 6, 2026 22:294,10921,186,93413,150,000024,576stderr
3Jul 6, 2026 22:294,11421,206,75813,167,000024,576stderr
4Jul 6, 2026 22:294,11421,184,29713,167,000024,576stderr
5Jul 6, 2026 22:294,11521,285,38113,170,000024,576stderr
6Jul 6, 2026 22:294,12021,196,47213,186,000024,576stderr
7Jul 6, 2026 22:294,12121,231,99213,188,000024,576stderr
8Jul 6, 2026 22:294,12321,227,77413,196,000024,576stderr
9Jul 6, 2026 22:294,13421,337,30613,230,000024,576stderr