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 1, 2026 09:27Victor MerckléVictor MerckléScore: 4,120Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 09:274,02821,261,48112,892,000024,576stderr
2Sep 1, 2026 09:274,03821,244,80912,924,000024,576stderr
3Sep 1, 2026 09:274,08521,453,95813,073,000024,576stderr
4Sep 1, 2026 09:274,09321,462,93013,100,000024,576stderr
5Sep 1, 2026 09:274,12021,467,04513,186,000024,576stderr
6Sep 1, 2026 09:274,12921,576,90113,214,000024,576stderr
7Sep 1, 2026 09:274,13921,992,85413,246,000024,576stderr
8Sep 1, 2026 09:274,13921,654,23513,246,000024,576stderr
9Sep 1, 2026 09:274,16631,186,89613,334,000024,576stderr