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:30highload-churnerhighload-churnerScore: 4,096Success
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:304,07621,917,54713,046,000020,480
2Oct 12, 2026 14:304,07922,005,67413,053,000020,480
3Oct 12, 2026 14:304,09122,070,12513,092,000020,480
4Oct 12, 2026 14:304,09521,980,23513,105,000020,480
5Oct 12, 2026 14:304,09621,998,49413,108,000020,480
6Oct 12, 2026 14:304,11022,074,40113,155,000020,480
7Oct 12, 2026 14:304,11222,052,49313,159,000020,480
8Oct 12, 2026 14:304,11722,061,18613,177,000020,480
9Oct 12, 2026 14:304,15522,186,29213,297,000020,480