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 listDec 31, 2022 18:39Hal FHal FScore: 5,509Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2022 18:395,46042,478,36416,444,0001,027,0002,289,664
2Dec 31, 2022 18:395,46845,404,02316,467,0001,029,0002,289,664
3Dec 31, 2022 18:395,47237,470,93916,481,0001,030,0002,265,088
4Dec 31, 2022 18:395,47433,303,82616,487,0001,030,0002,265,088
5Dec 31, 2022 18:395,48743,605,35417,558,00002,289,664
6Dec 31, 2022 18:395,49744,543,26916,555,0001,034,0002,523,136
7Dec 31, 2022 18:395,50945,048,61917,628,00002,289,664
8Dec 31, 2022 18:395,51538,027,08017,648,00002,531,328
9Dec 31, 2022 18:395,58845,746,30417,883,00002,289,664
10Dec 31, 2022 18:395,75786,477,45218,423,45102,297,856
11Dec 31, 2022 18:395,76085,158,56218,430,63902,301,952
12Dec 31, 2022 18:395,76993,388,21918,460,51102,297,856