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:22highload-churnerhighload-churnerScore: 7,873Success
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:237,8583,034,290,64625,148,000020,480
2Oct 12, 2026 14:237,8623,035,940,23625,159,000020,480
3Oct 12, 2026 14:237,8643,034,873,02825,165,000020,480
4Oct 12, 2026 14:237,8673,034,360,12325,177,000020,480
5Oct 12, 2026 14:237,8733,034,230,57925,196,000020,480
6Oct 12, 2026 14:237,8763,034,260,90825,205,000020,480
7Oct 12, 2026 14:237,8863,034,171,69025,236,000020,480
8Oct 12, 2026 14:237,8933,034,428,80225,258,000020,480
9Oct 12, 2026 14:237,9023,034,355,90525,288,000020,480