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 07:01highload-churnerhighload-churnerScore: 4,122Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2026 07:074,09221,997,86613,096,000020,480
2Oct 9, 2026 07:074,09522,046,45713,105,000020,480
3Oct 9, 2026 07:074,09622,106,92213,108,000020,480
4Oct 9, 2026 07:074,09722,124,30213,112,000020,480
5Oct 9, 2026 07:074,12222,169,15513,193,000020,480
6Oct 9, 2026 07:074,12622,158,97213,204,000020,480
7Oct 9, 2026 07:074,13822,155,08413,244,000020,480
8Oct 9, 2026 07:074,20122,487,54213,446,000020,480
9Oct 9, 2026 07:074,21622,500,96213,494,000020,480