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 17:36IlyaIlyaScore: 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 17:364,25122,919,25812,587,0001,017,0002,113,536
2Jul 2, 2026 17:364,25923,012,64312,621,0001,009,0002,113,536
3Jul 2, 2026 17:364,26322,893,97012,624,0001,020,0002,113,536
4Jul 2, 2026 17:364,26822,968,71712,599,0001,060,0002,113,536
5Jul 2, 2026 17:364,27424,313,20912,607,0001,070,0002,113,536
6Jul 2, 2026 17:364,27522,963,78912,627,0001,056,0002,113,536
7Jul 2, 2026 17:364,28523,025,13712,641,0001,071,0002,113,536
8Jul 2, 2026 17:364,28823,126,25012,646,0001,078,0002,113,536
9Jul 2, 2026 17:364,28923,023,53712,656,0001,070,0002,113,536