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 listMay 19, 2021 18:17Andrey TsvetkovAndrey TsvetkovScore: 6,241Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 18:176,10643,048,91719,540,00002,396,160
2May 16, 2021 13:096,11334,688,54719,562,00002,326,528
3May 19, 2021 18:176,11541,242,95119,568,00002,531,328
4May 16, 2021 13:096,11941,268,15718,552,0001,030,0002,326,528
5May 16, 2021 13:096,11938,169,65818,550,0001,030,0002,535,424
6May 19, 2021 18:176,12242,615,67917,527,0002,062,0002,531,328
7May 19, 2021 18:176,12646,180,13419,604,00002,326,528
8May 16, 2021 13:096,12747,951,15719,607,00002,326,528
9May 19, 2021 18:176,13446,507,90018,595,0001,033,0002,326,528
10May 19, 2021 18:176,13935,754,67218,612,0001,034,0002,326,528
11May 16, 2021 13:096,14044,959,14417,581,0002,068,0002,400,256
12May 16, 2021 13:096,14347,951,69318,623,0001,034,0002,330,624
13May 19, 2021 18:176,15745,807,41419,701,00002,531,328
14May 19, 2021 18:176,16547,396,85018,690,0001,038,0002,326,528
15May 19, 2021 18:176,17486,119,91419,755,90602,236,416
16May 19, 2021 18:176,18681,304,45519,794,44702,232,320
17May 16, 2021 13:096,19482,191,19219,820,66702,236,416
18May 16, 2021 13:096,19733,939,76516,855,0002,974,0002,326,528
19May 19, 2021 18:176,19886,531,11919,833,44202,236,416
20May 16, 2021 13:096,20846,045,43916,885,0002,979,0002,326,528
21May 19, 2021 18:176,21246,044,39817,890,0001,987,0002,330,624
22May 16, 2021 13:096,21347,349,21117,892,0001,988,0002,527,232
23May 19, 2021 18:176,22188,493,50119,907,15202,240,512
24May 19, 2021 18:176,22758,191,09219,925,54002,232,320
25May 19, 2021 18:166,23266,567,20819,940,84902,260,992
26May 16, 2021 13:096,24166,823,46519,970,40502,232,320
27May 19, 2021 18:166,25988,128,00220,029,25602,240,512
28May 19, 2021 18:176,26683,830,52020,051,20802,244,608
29May 19, 2021 18:166,268101,120,29020,057,02902,244,608
30May 19, 2021 18:166,28386,825,75920,105,56502,228,224
31May 19, 2021 18:176,293100,930,29720,137,82802,236,416
32May 19, 2021 18:176,30278,442,24920,166,63302,236,416
33May 19, 2021 18:176,30385,787,06920,169,70202,236,416
34May 19, 2021 18:176,30691,711,30720,179,03502,236,416
35May 19, 2021 18:176,33482,182,02220,267,21202,228,224
36May 19, 2021 18:176,35879,528,99320,345,32202,260,992
37May 19, 2021 18:176,36489,493,05720,364,43102,256,896
38May 16, 2021 13:096,37696,781,29120,402,19902,232,320
39May 19, 2021 18:176,39485,659,94920,461,55802,236,416
40May 19, 2021 18:176,41766,407,52720,533,75902,256,896
41May 19, 2021 18:177,07359,507,84022,632,92502,256,896
42May 19, 2021 18:177,24392,618,20823,176,61802,236,416
43May 19, 2021 18:178,20265,552,48326,246,41402,256,896
44May 19, 2021 18:178,28475,106,96926,508,91002,256,896
45May 19, 2021 18:178,62475,319,73427,596,36502,236,416
46May 19, 2021 18:178,63791,809,46827,636,92402,236,416
47May 19, 2021 18:169,00656,030,35228,817,72002,232,320
48May 19, 2021 18:169,03165,408,26128,898,85502,232,320
49May 19, 2021 18:1710,990116,078,61035,167,22002,224,128
50May 19, 2021 18:1711,23898,338,29235,961,06102,351,104
51May 19, 2021 18:1711,37296,690,44836,388,84002,433,024