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:06IlyaIlyaScore: 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 17:074,25722,974,38412,594,0001,029,0002,113,536
2Jul 2, 2026 17:074,25922,988,20512,577,0001,052,0002,113,536
3Jul 2, 2026 17:074,25922,989,11712,568,0001,062,0002,113,536
4Jul 2, 2026 17:074,26222,990,92012,568,0001,072,0002,113,536
5Jul 2, 2026 17:074,27023,044,98412,595,0001,071,0002,113,536
6Jul 2, 2026 17:074,27423,017,63312,603,0001,075,0002,113,536
7Jul 2, 2026 17:074,28023,055,45812,617,0001,081,0002,113,536
8Jul 2, 2026 17:074,28223,040,16312,619,0001,085,0002,113,536
9Jul 2, 2026 17:074,28323,119,21012,600,0001,108,0002,113,536