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:40Hal FHal FScore: 5,528Success
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:405,48139,394,94017,539,00002,277,376
2Dec 31, 2022 18:405,50544,416,40516,579,0001,036,0002,289,664
3Dec 31, 2022 18:405,50746,122,90216,586,0001,036,0002,289,664
4Dec 31, 2022 18:405,51043,720,81516,596,0001,037,0002,371,584
5Dec 31, 2022 18:405,51847,594,54916,620,0001,038,0002,289,664
6Dec 31, 2022 18:405,52845,528,79616,648,0001,040,0002,289,664
7Dec 31, 2022 18:405,52839,154,48817,690,00002,265,088
8Dec 31, 2022 18:405,58435,373,29915,884,0001,985,0002,289,664
9Dec 31, 2022 18:405,60437,606,77515,942,0001,992,0002,531,328
10Dec 31, 2022 18:405,74683,123,99918,386,89102,301,952
11Dec 31, 2022 18:405,77972,799,52518,491,97102,301,952
12Dec 31, 2022 18:405,81387,950,96318,601,58202,293,760