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 listOct 1, 2026 22:36Karthik ReddyKarthik ReddyScore: 4,160Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2026 22:374,14422,252,69813,262,000020,480
2Oct 1, 2026 22:374,14522,254,88813,265,000020,480
3Oct 1, 2026 22:374,14622,193,13813,268,000020,480
4Oct 1, 2026 22:374,15122,270,43513,285,000020,480
5Oct 1, 2026 22:374,16022,313,04413,313,000020,480
6Oct 1, 2026 22:374,16422,328,36813,325,000020,480
7Oct 1, 2026 22:374,16722,253,97213,335,000020,480
8Oct 1, 2026 22:374,20622,431,32513,460,000020,480
9Oct 1, 2026 22:374,23522,477,83813,554,000020,480