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:32Victor MerckléVictor MerckléScore: 4,090Success
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:334,02621,189,09912,885,000024,576stderr
2Sep 3, 2026 17:334,04521,164,99612,947,000024,576stderr
3Sep 3, 2026 17:334,07721,263,35413,048,000024,576stderr
4Sep 3, 2026 17:334,08521,310,48613,074,000024,576stderr
5Sep 3, 2026 17:334,09021,324,17913,091,000024,576stderr
6Sep 3, 2026 17:334,09221,470,08613,096,000024,576stderr
7Sep 3, 2026 17:334,09321,437,18513,100,000024,576stderr
8Sep 3, 2026 17:334,12621,502,87513,206,000024,576stderr
9Sep 3, 2026 17:334,16321,610,47213,324,000024,576stderr