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 21:12IlyaIlyaScore: 4,274Success
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 21:124,25922,999,80312,575,0001,055,0002,113,536
2Jul 2, 2026 21:124,26523,019,68312,595,0001,056,0002,113,536
3Jul 2, 2026 21:124,26523,088,26912,574,0001,077,0002,113,536
4Jul 2, 2026 21:124,26723,050,30512,592,0001,064,0002,113,536
5Jul 2, 2026 21:124,27423,006,94412,596,0001,081,0002,113,536
6Jul 2, 2026 21:124,27723,099,14812,614,0001,075,0002,113,536
7Jul 2, 2026 21:124,28123,077,17112,622,0001,079,0002,113,536
8Jul 2, 2026 21:124,28823,930,59612,638,0001,086,0002,113,536
9Jul 2, 2026 21:124,29223,214,86012,626,0001,110,0002,113,536