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:00IlyaIlyaScore: 5,151Success
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:005,13227,084,39515,421,0001,004,0002,113,536
2Jul 2, 2026 22:005,13825,973,42315,440,0001,004,0002,113,536
3Jul 2, 2026 22:005,14225,719,74715,437,0001,018,0002,113,536
4Jul 2, 2026 22:005,14925,888,74415,466,0001,013,0002,113,536
5Jul 2, 2026 22:005,15125,769,62115,465,0001,021,0002,113,536
6Jul 2, 2026 22:005,15725,848,75715,439,0001,066,0002,113,536
7Jul 2, 2026 22:005,16225,851,64315,451,0001,069,0002,113,536
8Jul 2, 2026 22:005,16825,857,44315,465,0001,075,0002,113,536
9Jul 2, 2026 22:005,17325,891,63715,483,0001,071,0002,113,536