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 11:24highload-churnerhighload-churnerScore: 3,927Success
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 11:243,91521,440,10212,531,000020,480
2Oct 13, 2026 11:243,92121,535,85512,549,000020,480
3Oct 13, 2026 11:243,92521,681,38312,561,000020,480
4Oct 13, 2026 11:243,92721,487,78512,567,000020,480
5Oct 13, 2026 11:243,92721,661,21612,568,000020,480
6Oct 13, 2026 11:243,92821,600,38312,570,000020,480
7Oct 13, 2026 11:243,93521,617,92412,592,000020,480
8Oct 13, 2026 11:243,93722,774,23012,599,000020,480
9Oct 13, 2026 11:243,94021,630,53712,608,000020,480