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 16, 2026 18:38Victor MerckléVictor MerckléScore: 4,135Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 16, 2026 18:394,11321,768,70713,163,000024,576stderr
2Sep 16, 2026 18:394,11621,809,57113,174,000024,576stderr
3Sep 16, 2026 18:394,13021,665,39813,217,000024,576stderr
4Sep 16, 2026 18:394,13321,870,17613,227,000024,576stderr
5Sep 16, 2026 18:394,13521,796,94413,234,000024,576stderr
6Sep 16, 2026 18:394,13521,813,27813,234,000024,576stderr
7Sep 16, 2026 18:394,13921,773,39213,245,000024,576stderr
8Sep 16, 2026 18:394,14021,945,73513,248,000024,576stderr
9Sep 16, 2026 18:394,14021,889,66913,248,000024,576stderr