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 17:16Victor MerckléVictor MerckléScore: 4,071Success
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 17:174,01521,127,71512,848,000024,576stderr
2Sep 3, 2026 17:174,01921,200,44412,862,000024,576stderr
3Sep 3, 2026 17:174,02421,236,13012,879,000024,576stderr
4Sep 3, 2026 17:174,07022,600,57913,024,000024,576stderr
5Sep 3, 2026 17:174,07121,408,17113,030,000024,576stderr
6Sep 3, 2026 17:174,07221,428,86713,033,000024,576stderr
7Sep 3, 2026 17:174,07221,594,32213,031,000024,576stderr
8Sep 3, 2026 17:174,08121,377,63413,060,000024,576stderr
9Sep 3, 2026 17:174,10621,480,11513,141,000024,576stderr