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 11:52Victor MerckléVictor MerckléScore: 4,095Success
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 11:534,08321,366,36913,068,000024,576stderr
2Sep 1, 2026 11:534,08521,443,41213,074,000024,576stderr
3Sep 1, 2026 11:534,08621,252,02113,078,000024,576stderr
4Sep 1, 2026 11:534,09521,501,02313,106,000024,576stderr
5Sep 1, 2026 11:534,09521,353,46713,104,000024,576stderr
6Sep 1, 2026 11:534,09921,428,21313,117,000024,576stderr
7Sep 1, 2026 11:534,10021,311,91813,121,000024,576stderr
8Sep 1, 2026 11:534,10221,237,69913,127,000024,576stderr
9Sep 1, 2026 11:534,10421,586,21413,133,000024,576stderr