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 9, 2026 07:25highload-churnerhighload-churnerScore: 4,221Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2026 07:354,20822,363,47213,468,000020,480
2Oct 9, 2026 07:354,21422,366,30613,485,000020,480
3Oct 9, 2026 07:354,21422,393,94413,486,000020,480
4Oct 9, 2026 07:354,21522,419,20113,490,000020,480
5Oct 9, 2026 07:354,22122,450,20513,510,000020,480
6Oct 9, 2026 07:354,22222,812,57213,511,000020,480
7Oct 9, 2026 07:354,22222,476,11413,512,000020,480
8Oct 9, 2026 07:354,22322,495,49613,515,000020,480
9Oct 9, 2026 07:354,23622,365,06913,556,000020,480