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:34Victor MerckléVictor MerckléScore: 4,260Success
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:344,24521,569,22913,586,000024,576stderr
2Jul 7, 2026 10:344,24621,610,97713,590,000024,576stderr
3Jul 7, 2026 10:344,25121,661,64413,606,000024,576stderr
4Jul 7, 2026 10:344,25521,647,76613,619,000024,576stderr
5Jul 7, 2026 10:344,26021,694,19513,633,000024,576stderr
6Jul 7, 2026 10:344,26121,648,45113,637,000024,576stderr
7Jul 7, 2026 10:344,26521,643,01013,648,000024,576stderr
8Jul 7, 2026 10:344,26621,675,36713,654,000024,576stderr
9Jul 7, 2026 10:344,31321,785,33513,802,000024,576stderr