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 02:33Victor MerckléVictor MerckléScore: 8,430Success
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 02:368,4048,436,086,42826,893,000024,576stderr
2Jul 7, 2026 02:368,4208,436,284,54126,944,000024,576stderr
3Jul 7, 2026 02:368,4218,436,474,44226,948,000024,576stderr
4Jul 7, 2026 02:368,4228,436,220,96726,953,000024,576stderr
5Jul 7, 2026 02:368,4308,436,280,56826,976,000024,576stderr
6Jul 7, 2026 02:368,4368,436,699,73426,996,000024,576stderr
7Jul 7, 2026 02:368,4448,436,419,78327,023,000024,576stderr
8Jul 7, 2026 02:368,4548,436,388,37727,055,000024,576stderr
9Jul 7, 2026 02:368,4898,436,311,63726,114,0001,051,00024,576stderr