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 2, 2026 15:03Victor MerckléVictor MerckléScore: 4,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2026 15:054,08521,311,78013,072,000024,576stderr
2Sep 2, 2026 15:054,12621,465,54113,204,000024,576stderr
3Sep 2, 2026 15:054,13021,324,04513,216,000024,576stderr
4Sep 2, 2026 15:054,13021,710,47713,217,000024,576stderr
5Sep 2, 2026 15:054,13621,551,96113,236,000024,576stderr
6Sep 2, 2026 15:054,14421,645,59913,262,000024,576stderr
7Sep 2, 2026 15:054,15221,518,28113,289,000024,576stderr
8Sep 2, 2026 15:054,17621,591,23013,366,000024,576stderr
9Sep 2, 2026 15:054,21421,623,98713,486,000024,576stderr