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 listJul 7, 2026 13:41Victor MerckléVictor MerckléScore: 4,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 13:434,18222,838,88313,385,000024,576stderr
2Jul 7, 2026 13:434,18721,411,56813,400,000024,576stderr
3Jul 7, 2026 13:434,19621,439,02213,430,000024,576stderr
4Jul 7, 2026 13:434,36721,983,45913,977,000024,576stderr
5Jul 7, 2026 13:434,37321,982,13413,996,000024,576stderr
6Jul 7, 2026 13:434,47322,316,01714,314,000024,576stderr
7Jul 7, 2026 13:434,50522,416,05614,418,000024,576stderr
8Jul 7, 2026 13:434,52222,499,60914,472,000024,576stderr
9Jul 7, 2026 13:434,54122,358,23714,533,000024,576stderr