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:45highload-churnerhighload-churnerScore: 3,915Success
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:453,90721,476,99212,503,000020,480
2Oct 13, 2026 12:453,91321,476,82012,524,000020,480
3Oct 13, 2026 12:453,91321,450,04712,523,000020,480
4Oct 13, 2026 12:453,91521,511,57812,528,000020,480
5Oct 13, 2026 12:453,91522,084,22912,530,000020,480
6Oct 13, 2026 12:453,91521,433,94912,528,000020,480
7Oct 13, 2026 12:453,92021,524,65112,544,000020,480
8Oct 13, 2026 12:453,92622,136,79612,566,000020,480
9Oct 13, 2026 12:453,93021,562,17512,576,000020,480