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 27, 2023 14:24apuxbtapuxbtScore: 5,379Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 27, 2023 14:245,34542,347,97215,093,0002,012,0002,289,664
2Sep 27, 2023 14:245,34839,845,31815,099,0002,013,0002,289,664
3Sep 27, 2023 14:245,34934,566,21016,110,0001,006,0002,285,568
4Sep 27, 2023 14:245,35147,161,73215,110,0002,014,0002,289,664
5Sep 27, 2023 14:245,35449,376,50915,117,0002,015,0002,375,680
6Sep 27, 2023 14:245,37541,338,51615,178,0002,023,0002,379,776
7Sep 27, 2023 14:245,37940,675,57815,188,0002,025,0002,367,488
8Sep 27, 2023 14:245,38233,345,22915,195,0002,026,0002,453,504
9Sep 27, 2023 14:245,45141,579,64416,418,0001,026,0002,289,664
10Sep 27, 2023 14:245,55974,469,10617,788,30302,236,416
11Sep 27, 2023 14:245,58181,883,12717,859,04702,228,224
12Sep 27, 2023 14:245,61781,346,52217,973,02802,240,512