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:53highload-churnerhighload-churnerScore: 4,241Success
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 08:134,12522,100,74113,200,000020,480
2Oct 9, 2026 08:134,14522,076,80513,265,000020,480
3Oct 9, 2026 08:134,22931,101,62213,535,000020,480
4Oct 9, 2026 08:134,23231,461,13213,543,000020,480
5Oct 9, 2026 08:134,24130,335,52513,572,000020,480
6Oct 9, 2026 08:134,41544,006,51514,129,000020,480
7Oct 9, 2026 08:134,43531,396,85714,192,000020,480
8Oct 9, 2026 08:134,44933,063,30214,237,000020,480
9Oct 9, 2026 08:134,52932,200,70914,493,000020,480