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 20, 2022 03:15Kenneth MaplesKenneth MaplesScore: 5,155Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2022 03:155,09739,653,81915,291,0001,019,0002,387,968
2Sep 20, 2022 03:155,09931,831,75415,299,0001,019,0002,396,160
3Sep 20, 2022 03:155,10142,227,25815,303,0001,020,0002,379,776
4Sep 20, 2022 03:155,10237,242,10015,307,0001,020,0002,387,968
5Sep 20, 2022 03:155,11435,825,06716,364,00002,265,088
6Sep 20, 2022 03:155,11538,973,73516,368,00002,396,160
7Sep 20, 2022 03:155,15542,262,48515,465,0001,031,0002,506,752
8Sep 20, 2022 03:155,16234,065,42615,486,0001,032,0002,383,872
9Sep 20, 2022 03:155,16935,445,15516,542,00002,265,088
10Sep 20, 2022 03:155,29476,060,58816,941,97702,273,280
11Sep 20, 2022 03:155,30875,456,59616,986,49202,265,088
12Sep 20, 2022 03:155,33971,921,84517,085,04802,277,376