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 24, 2021 13:08Dmitry DolgopolovDmitry DolgopolovScore: 5,066Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 13:095,02340,292,07314,066,0002,009,0002,383,872
2May 24, 2021 13:125,03333,431,41414,091,0002,013,0002,265,088
3May 24, 2021 13:125,03432,089,78114,096,0002,013,0002,265,088
4May 24, 2021 13:095,03435,533,09714,097,0002,013,0002,265,088
5May 24, 2021 13:085,03840,214,77614,108,0002,015,0002,387,968
6May 24, 2021 13:085,04340,817,75314,122,0002,017,0002,265,088
7May 24, 2021 13:125,04437,153,44514,125,0002,017,0002,510,848
8May 24, 2021 13:085,04633,637,52314,129,0002,018,0002,383,872
9May 24, 2021 13:085,04633,726,51014,128,0002,018,0002,265,088
10May 24, 2021 13:095,04942,392,61915,148,0001,009,0002,383,872
11May 24, 2021 13:095,05243,760,32314,145,0002,020,0002,265,088
12May 24, 2021 13:095,05342,290,42314,150,0002,021,0002,265,088
13May 24, 2021 13:125,05639,100,73814,156,0002,022,0002,265,088
14May 24, 2021 13:125,05645,005,92015,169,0001,011,0002,383,872
15May 24, 2021 13:085,05734,719,21615,170,0001,011,0002,265,088
16May 24, 2021 13:085,05944,704,99614,167,0002,023,0002,265,088
17May 24, 2021 13:095,06442,346,57514,181,0002,025,0002,265,088
18May 24, 2021 13:085,06633,849,99314,185,0002,026,0002,265,088
19May 24, 2021 13:085,06631,574,41614,185,0002,026,0002,383,872
20May 24, 2021 13:085,07437,301,36614,208,0002,029,0002,383,872
21May 24, 2021 13:125,07646,475,45615,229,0001,015,0002,510,848
22May 24, 2021 13:095,07844,759,96615,233,0001,015,0002,265,088
23May 24, 2021 13:125,07945,061,46515,239,0001,015,0002,265,088
24May 24, 2021 13:125,08041,681,02315,240,0001,016,0002,265,088
25May 24, 2021 13:125,08143,507,84215,242,0001,016,0002,269,184
26May 24, 2021 13:095,08233,440,34215,245,0001,016,0002,265,088
27May 24, 2021 13:095,09143,770,13915,273,0001,018,0002,265,088
28May 24, 2021 13:125,27686,507,67416,883,09302,277,376
29May 24, 2021 13:095,27884,423,92716,889,79902,289,664
30May 24, 2021 13:085,28464,624,18416,909,26102,281,472
31May 24, 2021 13:095,28673,446,83816,915,73002,240,512
32May 24, 2021 13:125,29184,279,28416,930,06502,273,280
33May 24, 2021 13:085,29775,477,57116,951,47702,277,376
34May 24, 2021 13:085,29989,014,13516,956,20002,273,280
35May 24, 2021 13:095,30270,699,27616,965,55402,281,472
36May 24, 2021 13:125,30981,461,14016,987,35702,277,376