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 13:25highload-churnerhighload-churnerScore: 4,103Success
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 13:254,08323,377,75613,068,000020,480
2Oct 9, 2026 13:254,09522,107,42613,105,000020,480
3Oct 9, 2026 13:254,10122,004,94613,124,000020,480
4Oct 9, 2026 13:254,10222,114,98313,127,000020,480
5Oct 9, 2026 13:254,10322,072,37513,130,000020,480
6Oct 9, 2026 13:254,10622,007,03713,140,000020,480
7Oct 9, 2026 13:254,10622,327,92713,140,000020,480
8Oct 9, 2026 13:254,20722,535,84813,465,000020,480
9Oct 9, 2026 13:254,21622,446,05713,492,000020,480