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 04:52Victor MerckléVictor MerckléScore: 4,268Success
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 04:534,25823,168,57313,628,000024,576stderr
2Jul 7, 2026 04:534,26021,500,77813,633,000024,576stderr
3Jul 7, 2026 04:534,26422,088,94513,645,000024,576stderr
4Jul 7, 2026 04:534,26721,592,09213,656,000024,576stderr
5Jul 7, 2026 04:534,26821,600,48613,659,000024,576stderr
6Jul 7, 2026 04:534,28522,208,40513,713,000024,576stderr
7Jul 7, 2026 04:534,29621,668,94613,750,000024,576stderr
8Jul 7, 2026 04:534,31021,809,95513,794,000024,576stderr
9Jul 7, 2026 04:534,33321,995,53813,868,000024,576stderr