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 listSep 2, 2026 14:21Victor MerckléVictor MerckléScore: 4,125Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2026 14:224,00721,239,71512,825,000024,576stderr
2Sep 2, 2026 14:224,10221,498,87513,127,000024,576stderr
3Sep 2, 2026 14:224,11521,510,26913,171,000024,576stderr
4Sep 2, 2026 14:224,12321,580,08513,194,000024,576stderr
5Sep 2, 2026 14:224,12521,611,43313,203,000024,576stderr
6Sep 2, 2026 14:224,12521,587,22313,200,000024,576stderr
7Sep 2, 2026 14:224,12621,686,24513,205,000024,576stderr
8Sep 2, 2026 14:224,13321,654,30613,228,000024,576stderr
9Sep 2, 2026 14:224,13521,599,91613,233,000024,576stderr