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 12, 2026 14:02highload-churnerhighload-churnerScore: 5,001Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2026 14:024,99524,848,75815,984,000020,480
2Oct 12, 2026 14:024,99626,383,06315,989,000020,480
3Oct 12, 2026 14:025,00125,503,86916,006,000020,480
4Oct 12, 2026 14:025,00132,526,61816,006,000020,480
5Oct 12, 2026 14:025,00124,906,51016,005,000020,480
6Oct 12, 2026 14:025,00225,052,64016,007,000020,480
7Oct 12, 2026 14:025,00525,472,84816,019,000020,480
8Oct 12, 2026 14:025,01024,792,15316,034,000020,480
9Oct 12, 2026 14:025,05425,032,55916,175,000020,480