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 5, 2026 11:40FrederickFrederickScore: 4,222Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 11:404,21522,290,42413,491,00002,113,536
2Oct 5, 2026 11:404,21522,288,97813,490,00002,113,536
3Oct 5, 2026 11:404,21522,268,97913,489,00002,113,536
4Oct 5, 2026 11:404,22222,323,80613,512,00002,113,536
5Oct 5, 2026 11:404,22222,253,72413,512,00002,113,536
6Oct 5, 2026 11:404,22722,077,80113,527,00002,113,536
7Oct 5, 2026 11:404,22823,762,30013,532,00002,113,536
8Oct 5, 2026 11:404,23322,262,75113,546,00002,113,536
9Oct 5, 2026 11:404,23422,310,28913,550,00002,113,536