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 18:05Victor MerckléVictor MerckléScore: 4,098Success
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 18:054,02021,132,63212,866,000024,576stderr
2Sep 3, 2026 18:054,02521,227,74612,881,000024,576stderr
3Sep 3, 2026 18:054,05021,313,83812,963,000024,576stderr
4Sep 3, 2026 18:054,09521,369,85213,107,000024,576stderr
5Sep 3, 2026 18:054,09821,284,29313,114,000024,576stderr
6Sep 3, 2026 18:054,09921,402,92513,118,000024,576stderr
7Sep 3, 2026 18:054,10621,431,13713,140,000024,576stderr
8Sep 3, 2026 18:054,11021,494,57213,152,000024,576stderr
9Sep 3, 2026 18:054,24022,055,23813,571,000024,576stderr