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:08alex3dalex3dScore: 4,872Success
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:134,8176,295,249,67014,388,0001,027,0002,523,136
2May 14, 2021 21:124,821496,785,47615,428,00002,523,136
3May 14, 2021 21:134,8264,580,084,93114,414,0001,029,0002,523,136
4May 14, 2021 21:134,8339,152,961,20515,466,00002,523,136
5May 14, 2021 21:074,8367,703,848,44613,413,0002,063,0002,519,040
6May 14, 2021 21:124,8412,112,639,57613,425,0002,065,0002,523,136
7May 14, 2021 21:134,8435,208,500,21515,496,00002,523,136
8May 14, 2021 21:134,8433,437,006,48114,463,0001,033,0002,523,136
9May 14, 2021 21:124,8432,137,692,89014,464,0001,033,0002,523,136
10May 14, 2021 21:134,8443,090,287,08114,469,0001,033,0002,523,136
11May 14, 2021 21:124,8449,363,615,03214,469,0001,033,0002,523,136
12May 14, 2021 21:074,8497,599,464,91712,415,0003,103,0002,523,136
13May 14, 2021 21:124,8511,834,538,63615,522,00002,523,136
14May 14, 2021 21:074,8529,217,044,77914,417,0001,109,0002,523,136
15May 14, 2021 21:074,852487,780,99613,457,0002,070,0002,523,136
16May 14, 2021 21:074,8531,576,396,64314,496,0001,035,0002,523,136
17May 14, 2021 21:134,8537,236,019,14614,494,0001,035,0002,519,040
18May 14, 2021 21:074,8548,441,909,10915,534,00002,523,136
19May 14, 2021 21:134,8587,183,110,57514,508,0001,036,0002,523,136
20May 14, 2021 21:124,8613,601,248,55415,555,00002,523,136
21May 14, 2021 21:124,8623,068,750,80915,557,00002,445,312
22May 14, 2021 21:074,8646,031,843,38414,529,0001,037,0002,445,312
23May 14, 2021 21:134,8659,671,707,23115,569,00002,523,136
24May 14, 2021 21:124,8669,629,148,91514,533,0001,038,0002,523,136
25May 14, 2021 21:074,8729,452,153,21814,552,0001,039,0002,519,040
26May 14, 2021 21:124,8779,414,551,43414,630,000975,0002,523,136
27May 14, 2021 21:074,9476,630,328,57014,774,0001,055,0002,523,136
28May 14, 2021 21:135,0682,082,304,10816,217,16902,281,472
29May 14, 2021 21:075,0818,518,573,01716,259,27202,277,376
30May 14, 2021 21:125,0839,007,825,12816,264,80302,277,376
31May 14, 2021 21:125,0863,453,470,12016,275,80002,281,472
32May 14, 2021 21:135,0885,620,794,40916,281,44102,285,568
33May 14, 2021 21:075,1105,955,473,70816,353,28802,277,376
34May 14, 2021 21:135,1134,280,849,71116,363,10002,277,376
35May 14, 2021 21:125,1137,607,366,76616,360,42702,281,472
36May 14, 2021 21:075,1206,271,005,31216,382,45102,281,472
37May 14, 2021 21:085,5592,439,715,08817,789,00002,523,136
38May 14, 2021 21:085,5646,392,164,58316,758,0001,047,0002,523,136
39May 14, 2021 21:085,5691,293,016,14116,774,0001,048,0002,433,024
40May 14, 2021 21:085,5783,779,551,30717,851,00002,514,944
41May 14, 2021 21:085,5887,397,805,58217,881,00002,433,024
42May 14, 2021 21:085,5916,004,212,55016,838,0001,052,0002,519,040
43May 14, 2021 21:085,5987,164,597,94417,913,00002,523,136
44May 14, 2021 21:085,6036,658,404,78016,876,0001,054,0002,514,944
45May 14, 2021 21:085,6233,754,951,72816,993,000999,0002,523,136
46May 14, 2021 21:085,7902,228,353,62018,528,61902,277,376
47May 14, 2021 21:085,7933,876,361,34318,537,49202,269,184
48May 14, 2021 21:085,8115,006,204,82418,593,60302,281,472