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 2, 2026 16:32IlyaIlyaScore: 4,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2026 16:354,26423,057,33912,597,0001,048,0002,113,536
2Jul 2, 2026 16:354,26923,056,18112,605,0001,058,0002,113,536
3Jul 2, 2026 16:354,27524,340,86312,596,0001,085,0002,113,536
4Jul 2, 2026 16:354,27722,982,10612,626,0001,061,0002,113,536
5Jul 2, 2026 16:354,28423,061,74112,617,0001,092,0002,113,536
6Jul 2, 2026 16:354,28723,067,15212,651,0001,069,0002,113,536
7Jul 2, 2026 16:354,28823,156,95412,653,0001,069,0002,113,536
8Jul 2, 2026 16:354,29323,121,31812,655,0001,085,0002,113,536
9Jul 2, 2026 16:354,33323,348,08212,756,0001,110,0002,113,536