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 12:59Victor MerckléVictor MerckléScore: 4,111Success
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 12:594,06321,370,89113,002,000024,576stderr
2Sep 2, 2026 12:594,09521,492,23713,106,000024,576stderr
3Sep 2, 2026 12:594,10621,762,00113,141,000024,576stderr
4Sep 2, 2026 12:594,10921,510,09913,151,000024,576stderr
5Sep 2, 2026 12:594,11121,538,59013,156,000024,576stderr
6Sep 2, 2026 12:594,11121,580,45013,158,000024,576stderr
7Sep 2, 2026 12:594,11321,504,49813,162,000024,576stderr
8Sep 2, 2026 12:594,11421,558,33413,166,000024,576stderr
9Sep 2, 2026 12:594,12621,681,95813,205,000024,576stderr