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 13, 2026 12:25highload-churnerhighload-churnerScore: 3,919Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 13, 2026 12:263,90321,917,83812,490,000020,480
2Oct 13, 2026 12:263,90722,736,75812,505,000020,480
3Oct 13, 2026 12:263,91621,984,39512,534,000020,480
4Oct 13, 2026 12:263,91624,022,01112,532,000020,480
5Oct 13, 2026 12:263,91922,099,03912,541,000020,480
6Oct 13, 2026 12:263,91921,990,68812,541,000020,480
7Oct 13, 2026 12:263,92121,523,63112,550,000020,480
8Oct 13, 2026 12:263,95621,636,87112,662,000020,480
9Oct 13, 2026 12:263,96221,678,69712,680,000020,480