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:56highload-churnerhighload-churnerScore: 3,923Success
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:563,91421,509,79812,526,000020,480
2Oct 13, 2026 11:563,92122,040,94712,549,000020,480
3Oct 13, 2026 11:563,92222,741,86712,551,000020,480
4Oct 13, 2026 11:563,92321,458,73412,555,000020,480
5Oct 13, 2026 11:563,92322,065,19012,556,000020,480
6Oct 13, 2026 11:563,92321,530,24212,555,000020,480
7Oct 13, 2026 11:563,92422,053,85712,559,000020,480
8Oct 13, 2026 11:563,93221,512,50512,585,000020,480
9Oct 13, 2026 11:563,97321,616,28512,714,000020,480