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 06:17highload-churnerhighload-churnerScore: 4,174Success
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 06:174,10122,036,48213,124,000020,480
2Oct 9, 2026 06:174,10822,130,72113,146,000020,480
3Oct 9, 2026 06:174,11922,517,10513,181,000020,480
4Oct 9, 2026 06:174,14122,157,31613,254,000020,480
5Oct 9, 2026 06:174,17422,328,45313,357,000020,480
6Oct 9, 2026 06:174,19422,429,83613,423,000020,480
7Oct 9, 2026 06:174,22422,492,53113,519,000020,480
8Oct 9, 2026 06:174,23022,506,38113,536,000020,480
9Oct 9, 2026 06:174,38229,770,24214,025,000020,480