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 00:46Victor MerckléVictor MerckléScore: 4,091Success
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 00:464,07921,203,65513,053,000024,576stderr
2Sep 2, 2026 00:464,08221,294,92313,065,000024,576stderr
3Sep 2, 2026 00:464,09021,263,31213,089,000024,576stderr
4Sep 2, 2026 00:464,09021,385,77413,089,000024,576stderr
5Sep 2, 2026 00:464,09121,325,53513,094,000024,576stderr
6Sep 2, 2026 00:464,09321,392,03213,099,000024,576stderr
7Sep 2, 2026 00:464,09321,396,68713,099,000024,576stderr
8Sep 2, 2026 00:464,09621,392,57213,110,000024,576stderr
9Sep 2, 2026 00:464,09821,323,74413,115,000024,576stderr