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 12:08Victor MerckléVictor MerckléScore: 4,096Success
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 12:084,08521,330,20513,073,000024,576stderr
2Sep 1, 2026 12:084,08621,369,99413,078,000024,576stderr
3Sep 1, 2026 12:084,08921,360,63113,086,000024,576stderr
4Sep 1, 2026 12:084,09321,394,84113,098,000024,576stderr
5Sep 1, 2026 12:084,09621,426,67313,108,000024,576stderr
6Sep 1, 2026 12:084,09921,387,39913,118,000024,576stderr
7Sep 1, 2026 12:084,10121,419,52413,125,000024,576stderr
8Sep 1, 2026 12:084,10221,449,68913,127,000024,576stderr
9Sep 1, 2026 12:084,10321,372,71513,131,000024,576stderr