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 listJun 3, 2026 09:08Victor MerckléVictor MerckléScore: 9,261Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 09:089,03238,150,07127,834,0001,070,0002,117,632stderr
2Jun 3, 2026 09:089,03538,587,35627,806,0001,108,0002,117,632stderr
3Jun 3, 2026 09:089,06138,135,60927,908,0001,090,0002,117,632stderr
4Jun 3, 2026 09:089,08338,771,86827,963,0001,105,0002,117,632stderr
5Jun 3, 2026 09:089,26138,873,02828,625,0001,011,0002,117,632stderr
6Jun 3, 2026 09:089,28038,897,12028,686,0001,011,0002,117,632stderr
7Jun 3, 2026 09:089,30339,408,59328,668,0001,104,0002,117,632stderr
8Jun 3, 2026 09:089,31339,533,91128,702,0001,100,0002,117,632stderr
9Jun 3, 2026 09:089,32239,470,84128,724,0001,108,0002,117,632stderr