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 listFeb 20, 2023 18:54DarkclainerDarkclainerScore: 5,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2023 18:495,32845,760,81315,043,0002,005,0002,367,488
2Feb 20, 2023 18:545,33641,636,79016,072,0001,004,0002,289,664
3Feb 20, 2023 18:545,33839,628,59915,074,0002,009,0002,367,488
4Feb 20, 2023 18:495,34341,023,35915,086,0002,011,0002,289,664
5Feb 20, 2023 18:545,34640,121,63816,101,0001,006,0002,289,664
6Feb 20, 2023 18:495,34645,439,07915,096,0002,012,0002,289,664
7Feb 20, 2023 18:495,35136,615,82015,109,0002,014,0002,375,680
8Feb 20, 2023 18:495,35344,230,54616,122,0001,007,0002,375,680
9Feb 20, 2023 18:545,35334,214,79115,113,0002,015,0002,289,664
10Feb 20, 2023 18:495,35440,221,94316,126,0001,007,0002,379,776
11Feb 20, 2023 18:545,35545,268,52815,120,0002,016,0002,367,488
12Feb 20, 2023 18:545,35846,277,14415,128,0002,017,0002,289,664
13Feb 20, 2023 18:495,36437,863,72416,157,0001,009,0002,285,568
14Feb 20, 2023 18:545,37034,325,46415,163,0002,021,0002,367,488
15Feb 20, 2023 18:495,37038,692,01515,164,0002,021,0002,289,664
16Feb 20, 2023 18:545,37348,583,16816,182,0001,011,0002,375,680
17Feb 20, 2023 18:495,37838,155,15816,197,0001,012,0002,473,984
18Feb 20, 2023 18:545,39737,783,57915,239,0002,031,0002,289,664
19Feb 20, 2023 18:495,53692,686,53117,716,40702,240,512
20Feb 20, 2023 18:545,54084,091,49017,728,03202,248,704
21Feb 20, 2023 18:545,55988,849,21717,790,25502,256,896
22Feb 20, 2023 18:545,56366,039,82517,801,83702,240,512
23Feb 20, 2023 18:495,59570,022,66817,905,56902,248,704
24Feb 20, 2023 18:495,60583,959,73717,935,34202,252,800