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 14, 2026 13:48Victor MerckléVictor MerckléScore: 4,250Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2026 13:484,15221,876,69813,287,000024,576stderr
2Sep 14, 2026 13:484,15521,887,58813,298,000024,576stderr
3Sep 14, 2026 13:484,16721,956,19113,335,000024,576stderr
4Sep 14, 2026 13:484,17421,956,90513,358,000024,576stderr
5Sep 14, 2026 13:484,25022,250,73513,603,000024,576stderr
6Sep 14, 2026 13:484,25722,243,68613,624,000024,576stderr
7Sep 14, 2026 13:484,26122,274,26313,637,000024,576stderr
8Sep 14, 2026 13:484,26922,247,93413,661,000024,576stderr
9Sep 14, 2026 13:484,28922,459,98113,725,000024,576stderr