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 9, 2026 23:08highload-churnerhighload-churnerScore: 4,447Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2026 00:504,42623,182,32414,165,000020,480
2Oct 10, 2026 00:504,43323,187,54714,186,000020,480
3Oct 10, 2026 00:504,43923,290,99314,206,000020,480
4Oct 10, 2026 00:504,44623,202,83214,229,000020,480
5Oct 10, 2026 00:504,44724,710,52414,232,000020,480
6Oct 10, 2026 00:504,45323,229,74114,252,000020,480
7Oct 10, 2026 00:504,45523,185,17614,258,000020,480
8Oct 10, 2026 00:504,45723,246,97614,264,000020,480
9Oct 10, 2026 00:504,47323,346,78314,314,000020,480