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 22, 2021 05:44Ilya AniskovetsIlya AniskovetsScore: 5,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2021 05:445,45041,242,01916,415,0001,025,0002,289,664
2Sep 22, 2021 05:445,46135,186,62716,447,0001,027,0002,289,664
3Sep 22, 2021 05:445,47738,670,11616,495,0001,030,0002,289,664
4Sep 22, 2021 05:445,48832,909,17817,560,00002,273,280
5Sep 22, 2021 05:445,49349,409,83316,545,0001,034,0002,289,664
6Sep 22, 2021 05:445,49637,937,01916,554,0001,034,0002,375,680
7Sep 22, 2021 05:445,49742,189,42817,589,00002,289,664
8Sep 22, 2021 05:445,49846,668,12017,595,00002,289,664
9Sep 22, 2021 05:445,52245,506,34716,631,0001,039,0002,289,664
10Sep 22, 2021 05:445,67398,436,24218,155,11002,293,760
11Sep 22, 2021 05:445,69383,997,62818,217,58602,301,952
12Sep 22, 2021 05:445,70199,435,91318,242,20402,289,664