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 15:42Victor MerckléVictor MerckléScore: 4,155Success
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 15:434,12621,733,36613,206,000024,576stderr
2Sep 1, 2026 15:434,13221,555,64613,224,000024,576stderr
3Sep 1, 2026 15:434,14521,593,64013,264,000024,576stderr
4Sep 1, 2026 15:434,14621,664,53813,270,000024,576stderr
5Sep 1, 2026 15:434,15521,694,88613,298,000024,576stderr
6Sep 1, 2026 15:434,16021,639,51113,313,000024,576stderr
7Sep 1, 2026 15:434,16821,727,54613,338,000024,576stderr
8Sep 1, 2026 15:434,16821,736,35713,338,000024,576stderr
9Sep 1, 2026 15:434,17221,885,28513,352,000024,576stderr