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 23:31Yuriy LyfenkoYuriy LyfenkoScore: 5,303Success
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 23:325,23350,163,49515,698,0001,046,0002,519,040
2May 19, 2021 23:375,25933,544,41612,870,0003,960,0002,523,136
3May 19, 2021 23:325,26845,691,17314,875,0001,983,0002,519,040
4May 19, 2021 23:325,27145,831,28816,866,00002,519,040
5May 19, 2021 23:325,27242,687,35015,877,000992,0002,519,040
6May 19, 2021 23:375,27250,749,27815,879,000992,0002,260,992
7May 19, 2021 23:375,27332,771,19114,889,0001,985,0002,387,968
8May 19, 2021 23:315,27337,682,55315,882,000992,0002,519,040
9May 19, 2021 23:315,27440,838,28415,886,000992,0002,383,872
10May 19, 2021 23:375,27433,191,21814,893,0001,985,0002,260,992
11May 19, 2021 23:375,27433,691,74714,893,0001,985,0002,387,968
12May 19, 2021 23:315,27542,453,64815,888,000993,0002,519,040
13May 19, 2021 23:325,27540,266,83414,894,0001,985,0002,392,064
14May 19, 2021 23:315,27632,194,43714,896,0001,986,0002,519,040
15May 19, 2021 23:325,27741,033,46914,900,0001,986,0002,383,872
16May 19, 2021 23:315,27844,179,93613,911,0002,980,0002,387,968
17May 19, 2021 23:375,27942,682,44714,907,0001,987,0002,265,088
18May 19, 2021 23:315,28145,282,99914,912,0001,988,0002,519,040
19May 19, 2021 23:375,28347,101,32315,850,0001,056,0002,260,992
20May 19, 2021 23:325,29844,610,85415,958,000997,0002,519,040
21May 19, 2021 23:375,29949,974,54514,963,0001,995,0002,396,160
22May 19, 2021 23:375,30343,291,03614,974,0001,996,0002,527,232
23May 19, 2021 23:315,30344,192,35815,970,000998,0002,383,872
24May 19, 2021 23:315,30834,587,00914,986,0001,998,0002,383,872
25May 19, 2021 23:325,30931,457,82515,989,000999,0002,519,040
26May 19, 2021 23:315,30932,131,15214,991,0001,998,0002,519,040
27May 19, 2021 23:325,31433,678,14116,005,0001,000,0002,392,064
28May 19, 2021 23:375,47593,000,45117,521,29702,277,376
29May 19, 2021 23:375,50384,712,25317,608,58202,277,376
30May 19, 2021 23:325,51864,076,82617,658,31402,273,280
31May 19, 2021 23:315,52089,776,52017,664,78502,285,568
32May 19, 2021 23:375,52193,620,59217,665,98602,285,568
33May 19, 2021 23:375,52788,398,04617,685,79302,285,568
34May 19, 2021 23:325,53181,490,51617,700,19702,281,472
35May 19, 2021 23:325,53385,730,34117,705,07202,281,472
36May 19, 2021 23:325,53782,869,42817,717,36702,281,472
37May 19, 2021 23:375,54081,541,62117,727,62102,285,568
38May 19, 2021 23:315,54187,991,98917,730,75902,277,376
39May 19, 2021 23:325,55686,294,50717,778,23602,293,760
40May 19, 2021 23:375,56372,962,43117,800,40202,285,568
41May 19, 2021 23:325,56874,588,72117,817,83902,269,184
42May 19, 2021 23:315,57072,955,11217,822,86202,277,376
43May 19, 2021 23:315,58381,535,60517,866,43102,273,280
44May 19, 2021 23:315,61396,449,61017,960,43402,281,472
45May 19, 2021 23:315,72285,305,20318,311,40902,281,472