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 8, 2026 20:41Karthik ReddyKarthik ReddyScore: 3,944Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2026 20:433,9326,021,752,48212,583,000020,480
2Oct 8, 2026 20:433,9386,021,829,21912,602,000020,480
3Oct 8, 2026 20:433,9406,021,655,17612,609,000020,480
4Oct 8, 2026 20:433,9446,022,335,05212,622,000020,480
5Oct 8, 2026 20:433,9446,021,771,04712,622,000020,480
6Oct 8, 2026 20:433,9466,021,827,57312,629,000020,480
7Oct 8, 2026 20:433,9496,021,822,22312,639,000020,480
8Oct 8, 2026 20:433,9746,022,021,42412,719,000020,480
9Oct 8, 2026 20:433,9806,021,907,80212,736,000020,480