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 3, 2026 11:11Pavel SamyginPavel SamyginScore: 4,445Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 11:124,42523,490,41913,107,0001,056,0002,113,536
2Jul 3, 2026 11:124,43723,632,09513,130,0001,070,0002,113,536
3Jul 3, 2026 11:124,44023,511,65913,146,0001,064,0002,113,536
4Jul 3, 2026 11:124,44123,585,74013,157,0001,056,0002,113,536
5Jul 3, 2026 11:124,44523,571,22313,211,0001,014,0002,113,536
6Jul 3, 2026 11:124,45023,599,16913,167,0001,075,0002,113,536
7Jul 3, 2026 11:124,46023,566,24613,254,0001,021,0002,113,536
8Jul 3, 2026 11:124,47523,635,18613,252,0001,069,0002,113,536
9Jul 3, 2026 11:124,49823,834,70013,322,0001,074,0002,113,536