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:11Victor MerckléVictor MerckléScore: 4,068Success
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:124,01221,009,20112,841,000024,576stderr
2Sep 3, 2026 17:124,02121,167,97312,868,000024,576stderr
3Sep 3, 2026 17:124,02821,055,54212,892,000024,576stderr
4Sep 3, 2026 17:124,06121,231,95812,996,000024,576stderr
5Sep 3, 2026 17:124,06821,171,76013,018,000024,576stderr
6Sep 3, 2026 17:124,07222,683,10513,031,000024,576stderr
7Sep 3, 2026 17:124,07321,208,12513,034,000024,576stderr
8Sep 3, 2026 17:124,08221,234,22213,063,000024,576stderr
9Sep 3, 2026 17:124,10321,335,23313,132,000024,576stderr