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 17, 2026 13:16Victor MerckléVictor MerckléScore: 4,117Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2026 13:224,00721,454,29012,825,000024,576stderr
2Sep 17, 2026 13:224,11021,834,61313,154,000024,576stderr
3Sep 17, 2026 13:224,11321,887,62013,163,000024,576stderr
4Sep 17, 2026 13:224,11522,059,34513,170,000024,576stderr
5Sep 17, 2026 13:224,11721,948,77313,176,000024,576stderr
6Sep 17, 2026 13:224,12021,868,56713,187,000024,576stderr
7Sep 17, 2026 13:224,12021,941,85313,187,000024,576stderr
8Sep 17, 2026 13:224,12121,894,34313,190,000024,576stderr
9Sep 17, 2026 13:224,15321,949,98013,291,000024,576stderr