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 30, 2024 10:37AnSaAnSaScore: 5,139Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:375,04839,841,50714,136,0002,019,0002,289,664
2Jun 30, 2024 10:375,07932,016,08414,221,0002,031,0002,289,664
3Jun 30, 2024 10:375,08341,638,80214,234,0002,033,0002,289,664
4Jun 30, 2024 10:375,08436,796,55814,236,0002,033,0002,371,584
5Jun 30, 2024 10:375,10839,815,39114,302,0002,043,0002,289,664
6Jun 30, 2024 10:375,12838,404,62515,386,0001,025,0002,265,088
7Jun 30, 2024 10:375,13945,415,05415,418,0001,027,0002,351,104
8Jun 30, 2024 10:375,15237,622,93815,456,0001,030,0002,367,488
9Jun 30, 2024 10:375,15635,393,46615,467,0001,031,0002,527,232
10Jun 30, 2024 10:375,35687,320,30417,140,17702,293,760
11Jun 30, 2024 10:375,38791,302,77717,238,90202,293,760
12Jun 30, 2024 10:375,40487,041,52717,293,79502,285,568