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 14, 2021 21:01Yuriy LyfenkoYuriy LyfenkoScore: 6,191Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:006,08835,740,61517,432,0002,050,0002,519,040
2May 14, 2021 21:016,11437,605,51717,507,0002,059,0002,326,528
3May 14, 2021 21:016,11441,019,01417,505,0002,059,0002,519,040
4May 14, 2021 21:006,11640,215,48817,510,0002,060,0002,519,040
5May 14, 2021 21:006,11846,283,06218,546,0001,030,0002,506,752
6May 14, 2021 21:006,12844,972,67018,579,0001,032,0002,330,624
7May 14, 2021 21:016,12949,520,32317,549,0002,064,0002,514,944
8May 12, 2021 20:576,12946,999,87417,549,0002,064,0002,519,040
9May 12, 2021 20:576,13046,781,03517,551,0002,064,0002,519,040
10May 12, 2021 20:576,13146,737,00117,553,0002,065,0002,519,040
11May 14, 2021 21:006,13146,312,02518,588,0001,032,0002,510,848
12May 14, 2021 21:016,13143,428,20118,587,0001,032,0002,326,528
13May 14, 2021 21:016,13843,284,26218,609,0001,033,0002,519,040
14May 12, 2021 20:576,14345,332,36618,623,0001,034,0002,514,944
15May 12, 2021 20:576,14745,440,58018,635,0001,035,0002,519,040
16May 14, 2021 21:006,14845,412,57619,673,00002,326,528
17May 14, 2021 21:016,15050,066,04215,537,0004,143,0002,326,528
18May 12, 2021 20:576,16551,014,59319,727,00002,326,528
19May 12, 2021 20:576,16543,143,81118,690,0001,038,0002,326,528
20May 14, 2021 21:006,17845,669,70918,729,0001,040,0002,326,528
21May 14, 2021 21:016,19193,621,21919,811,79902,224,128
22May 12, 2021 20:576,19177,180,49319,811,49802,228,224
23May 14, 2021 21:016,20152,458,50918,850,000992,0002,523,136
24May 14, 2021 21:016,20244,537,33817,863,0001,984,0002,514,944
25May 12, 2021 20:576,20394,929,48019,850,99002,232,320
26May 14, 2021 21:016,20745,357,98116,884,0002,979,0002,326,528
27May 14, 2021 21:006,20846,314,35817,878,0001,986,0002,387,968
28May 12, 2021 20:576,21044,224,60818,878,000993,0002,514,944
29May 14, 2021 21:016,21192,197,24719,876,69502,228,224
30May 14, 2021 21:006,21183,424,04419,875,25902,228,224
31May 14, 2021 21:006,21546,566,10217,900,0001,988,0002,326,528
32May 14, 2021 21:016,22285,674,50619,910,82802,224,128
33May 14, 2021 21:006,22377,101,49519,912,40802,224,128
34May 12, 2021 20:576,22744,323,80219,926,00002,514,944
35May 14, 2021 21:006,24089,177,41119,969,27202,224,128
36May 14, 2021 21:016,245105,511,13419,983,60202,224,128
37May 14, 2021 21:016,24786,527,29819,989,85902,240,512
38May 14, 2021 21:016,29775,034,60020,150,78102,211,840
39May 14, 2021 21:016,30475,941,38020,173,40302,224,128
40May 12, 2021 20:576,31887,355,25620,216,85002,228,224
41May 14, 2021 21:016,35794,364,82020,343,41602,215,936
42May 14, 2021 21:016,37178,111,15420,388,15202,232,320