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 17:48Victor MerckléVictor MerckléScore: 4,097Success
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 17:484,01821,269,33012,860,000024,576stderr
2Sep 3, 2026 17:484,08621,501,07613,077,000024,576stderr
3Sep 3, 2026 17:484,08721,443,96113,079,000024,576stderr
4Sep 3, 2026 17:484,08921,525,71213,087,000024,576stderr
5Sep 3, 2026 17:484,09721,537,45313,111,000024,576stderr
6Sep 3, 2026 17:484,09822,208,01113,114,000024,576stderr
7Sep 3, 2026 17:484,11321,488,72013,163,000024,576stderr
8Sep 3, 2026 17:484,12321,618,36813,194,000024,576stderr
9Sep 3, 2026 17:484,12621,358,59513,204,000024,576stderr