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 listMay 17, 2026 10:07M-RochatM-RochatScore: 4,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 10:074,32125,946,77413,829,00002,113,536
2May 17, 2026 10:074,33025,077,31213,859,00002,113,536
3May 17, 2026 10:074,33224,704,51813,863,00002,113,536
4May 17, 2026 10:074,33922,595,09512,871,0001,016,0002,113,536
5May 17, 2026 10:074,34024,836,59212,860,0001,030,0002,113,536
6May 17, 2026 10:074,34022,611,88312,868,0001,023,0002,113,536
7May 17, 2026 10:074,34224,454,47912,862,0001,034,0002,113,536
8May 17, 2026 10:074,35222,745,14612,923,0001,006,0002,113,536
9May 17, 2026 10:074,35222,801,49512,916,0001,011,0002,113,536