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 3, 2026 18:59Victor MerckléVictor MerckléScore: 4,123Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2026 18:594,02521,202,78212,883,000024,576stderr
2Sep 3, 2026 18:594,03321,080,11412,906,000024,576stderr
3Sep 3, 2026 18:594,11421,533,29813,167,000024,576stderr
4Sep 3, 2026 18:594,11521,911,87713,171,000024,576stderr
5Sep 3, 2026 18:594,12322,342,84613,195,000024,576stderr
6Sep 3, 2026 18:594,12421,369,03013,199,000024,576stderr
7Sep 3, 2026 18:594,12821,440,92713,211,000024,576stderr
8Sep 3, 2026 18:594,13121,527,32613,221,000024,576stderr
9Sep 3, 2026 18:594,13221,428,96813,225,000024,576stderr