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 11, 2021 15:07Andrey TsvetkovAndrey TsvetkovScore: 6,209Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 15:126,10643,553,93718,511,0001,028,0002,330,624
2May 11, 2021 15:126,10742,018,60417,484,0002,057,0002,318,336
3May 11, 2021 15:106,10849,747,05218,519,0001,028,0002,531,328
4May 11, 2021 15:106,11143,082,52619,555,00002,326,528
5May 11, 2021 15:106,11540,415,87919,567,00002,519,040
6May 11, 2021 15:126,11645,086,53719,571,00002,523,136
7May 11, 2021 15:106,12249,082,68818,559,0001,031,0002,531,328
8May 11, 2021 15:126,13647,009,74417,569,0002,067,0002,330,624
9May 11, 2021 15:126,14044,431,82318,614,0001,034,0002,523,136
10May 11, 2021 15:106,14342,387,38418,622,0001,034,0002,531,328
11May 11, 2021 15:126,14345,642,45418,623,0001,034,0002,523,136
12May 11, 2021 15:106,14450,607,86118,628,0001,034,0002,326,528
13May 11, 2021 15:106,14941,732,40119,678,00002,326,528
14May 11, 2021 15:126,15845,774,00719,705,00002,326,528
15May 11, 2021 15:086,20095,918,46919,840,37402,240,512
16May 11, 2021 15:086,20183,133,67919,844,40802,232,320
17May 11, 2021 15:106,204104,097,65819,851,56302,236,416
18May 11, 2021 15:076,20787,308,93619,862,39602,240,512
19May 11, 2021 15:126,20947,926,75018,876,000993,0002,326,528
20May 11, 2021 15:106,21142,676,05516,895,0002,981,0002,392,064
21May 11, 2021 15:126,21340,668,70617,895,0001,988,0002,527,232
22May 11, 2021 15:106,21339,202,54317,894,0001,988,0002,531,328
23May 11, 2021 15:126,23092,518,12219,934,94802,228,224
24May 11, 2021 15:106,23679,167,68019,955,34902,232,320
25May 11, 2021 15:126,24588,018,91919,985,45902,232,320
26May 11, 2021 15:086,25899,055,16420,025,05902,236,416
27May 11, 2021 15:126,28478,730,87620,108,83802,228,224
28May 11, 2021 15:086,29479,263,22320,139,80502,228,224
29May 11, 2021 15:126,29488,707,20820,141,92502,240,512
30May 11, 2021 15:086,30198,639,27620,164,11602,236,416
31May 11, 2021 15:126,30486,379,69320,173,28702,220,032
32May 11, 2021 15:086,30679,741,04320,180,73002,228,224
33May 11, 2021 15:106,30784,989,66920,181,85302,220,032
34May 11, 2021 15:126,32686,090,51520,242,09602,228,224
35May 11, 2021 15:076,34381,512,50320,298,10802,236,416
36May 11, 2021 15:076,45390,158,68420,650,27402,236,416