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 08:26Victor MerckléVictor MerckléScore: 4,072Success
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 08:264,06521,378,51313,009,000024,576stderr
2Sep 1, 2026 08:264,06521,396,52613,008,000024,576stderr
3Sep 1, 2026 08:264,06521,127,16013,010,000024,576stderr
4Sep 1, 2026 08:264,06921,423,04313,021,000024,576stderr
5Sep 1, 2026 08:264,07221,527,01013,031,000024,576stderr
6Sep 1, 2026 08:264,07721,156,87613,049,000024,576stderr
7Sep 1, 2026 08:264,07821,172,35913,052,000024,576stderr
8Sep 1, 2026 08:264,08121,457,42913,061,000024,576stderr
9Sep 1, 2026 08:264,08121,188,26713,060,000024,576stderr