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:27IlyaIlyaScore: 4,270Success
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:274,25622,956,55513,622,00002,113,536
2Jul 2, 2026 21:274,26022,923,02412,611,0001,024,0002,113,536
3Jul 2, 2026 21:274,26522,991,40812,616,0001,033,0002,113,536
4Jul 2, 2026 21:274,27022,992,59712,660,0001,005,0002,113,536
5Jul 2, 2026 21:274,27022,977,92412,632,0001,032,0002,113,536
6Jul 2, 2026 21:274,27522,988,87112,659,0001,022,0002,113,536
7Jul 2, 2026 21:274,28723,053,94712,657,0001,062,0002,113,536
8Jul 2, 2026 21:274,31723,105,01212,708,0001,107,0002,113,536
9Jul 2, 2026 21:274,31824,450,47512,797,0001,021,0002,113,536