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 listJun 29, 2026 14:24Victor MerckléVictor MerckléScore: 5,226Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2026 14:245,19424,350,32515,596,0001,025,0002,125,824stderr
2Jun 29, 2026 14:245,20024,461,75615,619,0001,022,0002,125,824stderr
3Jun 29, 2026 14:245,20724,553,90615,656,0001,009,0002,125,824stderr
4Jun 29, 2026 14:245,21224,475,51315,651,0001,029,0002,125,824stderr
5Jun 29, 2026 14:245,22624,554,02815,690,0001,036,0002,125,824stderr
6Jun 29, 2026 14:245,22826,391,75415,710,0001,022,0002,125,824stderr
7Jun 29, 2026 14:245,23524,461,90915,743,0001,010,0002,125,824stderr
8Jun 29, 2026 14:245,24424,585,56815,656,0001,126,0002,125,824stderr
9Jun 29, 2026 14:245,26224,581,52615,674,0001,165,0002,125,824stderr