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 listJul 7, 2026 05:08Victor MerckléVictor MerckléScore: 5,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:095,27424,660,58315,797,0001,080,00024,576stderr
2Jul 7, 2026 05:095,27924,715,01515,791,0001,104,00024,576stderr
3Jul 7, 2026 05:095,28424,871,73915,768,0001,143,00024,576stderr
4Jul 7, 2026 05:095,29924,786,19915,862,0001,097,00024,576stderr
5Jul 7, 2026 05:095,30424,930,42615,845,0001,129,00024,576stderr
6Jul 7, 2026 05:095,30925,011,25515,877,0001,112,00024,576stderr
7Jul 7, 2026 05:095,32124,926,41315,916,0001,114,00024,576stderr
8Jul 7, 2026 05:095,33024,977,45115,950,0001,109,00024,576stderr
9Jul 7, 2026 05:095,33424,927,34515,948,0001,122,00024,576stderr