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 10:44Victor MerckléVictor MerckléScore: 4,135Success
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 10:444,12521,194,79113,203,000024,576stderr
2Jul 7, 2026 10:444,13021,187,42413,216,000024,576stderr
3Jul 7, 2026 10:444,13321,264,96313,227,000024,576stderr
4Jul 7, 2026 10:444,13421,289,28913,230,000024,576stderr
5Jul 7, 2026 10:444,13528,474,55813,235,000024,576stderr
6Jul 7, 2026 10:444,14229,564,78613,255,000024,576stderr
7Jul 7, 2026 10:444,14321,328,73313,258,000024,576stderr
8Jul 7, 2026 10:444,15221,330,17213,288,000024,576stderr
9Jul 7, 2026 10:444,16029,264,75213,312,000024,576stderr