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 22:58IlyaIlyaScore: 4,313Success
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 22:584,30123,092,83512,755,0001,011,0002,113,536
2Jul 2, 2026 22:584,30723,068,59912,756,0001,028,0002,113,536
3Jul 2, 2026 22:584,31023,101,77212,777,0001,017,0002,113,536
4Jul 2, 2026 22:584,31223,212,86012,793,0001,006,0002,113,536
5Jul 2, 2026 22:584,31323,154,06312,770,0001,034,0002,113,536
6Jul 2, 2026 22:584,31424,598,33712,800,0001,005,0002,113,536
7Jul 2, 2026 22:584,31823,186,97912,788,0001,032,0002,113,536
8Jul 2, 2026 22:584,32423,117,85912,817,0001,020,0002,113,536
9Jul 2, 2026 22:584,32523,170,45112,819,0001,021,0002,113,536