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 1, 2026 18:40IlyaIlyaScore: 4,306Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2026 18:414,27523,042,32212,677,0001,006,0002,113,536
2Jul 1, 2026 18:414,30323,140,95912,715,0001,056,0002,113,536
3Jul 1, 2026 18:414,30423,126,80312,753,0001,021,0002,113,536
4Jul 1, 2026 18:414,30423,156,72912,745,0001,028,0002,113,536
5Jul 1, 2026 18:414,30623,134,93012,720,0001,062,0002,113,536
6Jul 1, 2026 18:414,31123,240,82412,734,0001,063,0002,113,536
7Jul 1, 2026 18:414,31523,110,16712,748,0001,061,0002,113,536
8Jul 1, 2026 18:414,32323,158,94112,750,0001,086,0002,113,536
9Jul 1, 2026 18:414,32923,206,85712,780,0001,074,0002,113,536