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 12:59FrederickFrederickScore: 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 13:014,2096,022,394,23313,471,00002,113,536
2Oct 5, 2026 13:014,2116,022,404,10613,476,00002,113,536
3Oct 5, 2026 13:014,2156,022,465,37313,491,00002,113,536
4Oct 5, 2026 13:014,2226,022,465,25113,512,00002,113,536
5Oct 5, 2026 13:014,2226,023,914,16713,512,00002,113,536
6Oct 5, 2026 13:014,2236,022,485,84313,514,00002,113,536
7Oct 5, 2026 13:014,2426,022,445,79613,576,00002,113,536
8Oct 5, 2026 13:014,2456,022,608,42213,587,00002,113,536
9Oct 5, 2026 13:014,2576,023,984,83813,623,00002,113,536