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:27IlyaIlyaScore: 4,278Success
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:284,26122,951,31712,618,0001,019,0002,113,536
2Jul 2, 2026 16:284,26322,971,14112,626,0001,017,0002,113,536
3Jul 2, 2026 16:284,27022,948,37112,645,0001,020,0002,113,536
4Jul 2, 2026 16:284,27122,967,44212,657,0001,011,0002,113,536
5Jul 2, 2026 16:284,27822,988,04512,670,0001,020,0002,113,536
6Jul 2, 2026 16:284,27923,100,08112,685,0001,008,0002,113,536
7Jul 2, 2026 16:284,29023,054,25212,666,0001,064,0002,113,536
8Jul 2, 2026 16:284,29623,117,79812,671,0001,079,0002,113,536
9Jul 2, 2026 16:284,30523,146,95112,693,0001,083,0002,113,536