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 4, 2021 22:04Andrey TsvetkovAndrey TsvetkovScore: 5,641Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:085,59242,134,18516,900,000994,0002,342,912
2Sep 5, 2021 12:225,59649,013,43415,919,0001,989,0002,437,120
3Sep 4, 2021 22:045,60151,651,74215,932,0001,991,0002,342,912
4Sep 5, 2021 12:225,60349,818,59016,935,000996,0002,424,832
5Sep 4, 2021 22:065,60443,554,57116,937,000996,0002,342,912
6Sep 4, 2021 22:085,60531,282,24016,939,000996,0002,428,928
7Sep 4, 2021 22:065,60636,841,43116,943,000996,0002,441,216
8Sep 4, 2021 22:025,60634,254,68416,943,000996,0002,437,120
9Sep 5, 2021 12:225,60746,477,20016,945,000996,0002,433,024
10Sep 4, 2021 22:045,60732,213,17916,947,000996,0002,445,312
11Sep 4, 2021 22:025,60945,587,54214,957,0002,991,0002,441,216
12Sep 4, 2021 22:085,61043,122,04316,954,000997,0002,437,120
13Sep 4, 2021 22:045,61147,881,38316,957,000997,0002,433,024
14Sep 4, 2021 22:025,61242,444,59115,962,0001,995,0002,437,120
15Sep 4, 2021 22:065,61242,687,74516,962,000997,0002,433,024
16Sep 4, 2021 22:025,61332,497,75715,967,0001,995,0002,347,008
17Sep 5, 2021 12:225,61746,320,02715,976,0001,997,0002,437,120
18Sep 4, 2021 22:025,61848,619,18316,979,000998,0002,433,024
19Sep 5, 2021 12:225,61948,898,65016,982,000998,0002,342,912
20Sep 4, 2021 22:085,61950,040,08516,982,000998,0002,437,120
21Sep 4, 2021 22:085,62142,661,93416,988,000999,0002,342,912
22Sep 5, 2021 12:225,62332,886,26616,994,000999,0002,338,816
23Sep 4, 2021 22:045,62440,801,83416,999,000999,0002,342,912
24Sep 4, 2021 22:085,62845,748,64617,011,0001,000,0002,342,912
25Sep 4, 2021 22:065,63532,713,99517,031,0001,001,0002,433,024
26Sep 5, 2021 12:225,63632,824,24916,031,0002,003,0002,338,816
27Sep 4, 2021 22:065,63738,341,38517,035,0001,002,0002,424,832
28Sep 4, 2021 22:045,63847,673,98316,038,0002,004,0002,441,216
29Sep 4, 2021 22:045,64049,788,43617,046,0001,002,0002,437,120
30Sep 4, 2021 22:025,64041,888,30016,042,0002,005,0002,342,912
31Sep 4, 2021 22:085,64148,975,36917,050,0001,002,0002,437,120
32Sep 4, 2021 22:025,64690,878,20518,066,97502,277,376
33Sep 4, 2021 22:065,64842,215,15117,068,0001,004,0002,428,928
34Sep 4, 2021 22:065,64844,967,94316,064,0002,008,0002,437,120
35Sep 4, 2021 22:045,64888,303,77218,074,20702,281,472
36Sep 4, 2021 22:065,64935,105,39016,068,0002,008,0002,437,120
37Sep 4, 2021 22:025,65032,813,33317,077,0001,004,0002,428,928
38Sep 4, 2021 22:025,65075,450,74518,080,11002,273,280
39Sep 4, 2021 22:025,65437,640,15216,084,0002,010,0002,338,816
40Sep 5, 2021 12:225,65973,145,18618,109,84802,281,472
41Sep 5, 2021 12:225,66145,132,36017,109,0001,006,0002,441,216
42Sep 4, 2021 22:065,66373,595,42818,120,32502,273,280
43Sep 4, 2021 22:085,66442,851,02016,111,0002,013,0002,342,912
44Sep 4, 2021 22:065,66538,185,78016,113,0002,014,0002,342,912
45Sep 4, 2021 22:085,66544,015,89317,122,0001,007,0002,437,120
46Sep 4, 2021 22:085,66585,026,57318,126,72402,277,376
47Sep 4, 2021 22:045,66635,373,22417,123,0001,007,0002,437,120
48Sep 5, 2021 12:225,67036,417,16516,129,0002,016,0002,338,816
49Sep 4, 2021 22:065,67072,961,99918,144,61502,277,376
50Sep 4, 2021 22:085,67758,865,60318,166,40102,269,184
51Sep 4, 2021 22:045,67835,125,42917,160,0001,009,0002,433,024
52Sep 4, 2021 22:025,68744,400,69616,176,0002,022,0002,342,912
53Sep 4, 2021 22:045,69185,331,10518,212,74502,273,280
54Sep 4, 2021 22:065,69574,134,04718,224,24702,285,568
55Sep 4, 2021 22:025,69581,471,07718,223,00102,269,184
56Sep 4, 2021 22:045,69833,248,95217,222,0001,013,0002,437,120
57Sep 4, 2021 22:085,69873,951,56318,234,09902,265,088
58Sep 5, 2021 12:225,74061,040,50718,366,86302,269,184
59Sep 4, 2021 22:045,80689,026,69718,580,76702,273,280
60Sep 5, 2021 12:225,97199,834,44419,107,95902,269,184