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:52Andrey TsvetkovAndrey TsvetkovScore: 6,160Success
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:516,10844,038,81218,516,0001,028,0002,326,528
2May 11, 2021 15:516,11034,050,87218,522,0001,029,0002,523,136
3May 11, 2021 15:526,11240,844,78217,499,0002,058,0002,326,528
4May 11, 2021 15:516,11745,194,15819,573,00002,326,528
5May 11, 2021 15:526,11937,775,89517,520,0002,061,0002,326,528
6May 11, 2021 15:516,12044,186,16717,522,0002,061,0002,326,528
7May 11, 2021 15:526,12140,985,74119,588,00002,326,528
8May 11, 2021 15:516,12340,250,38218,564,0001,031,0002,404,352
9May 11, 2021 15:516,12546,497,72518,568,0001,031,0002,531,328
10May 11, 2021 15:516,12641,165,69717,539,0002,063,0002,531,328
11May 11, 2021 15:516,13242,453,55118,589,0001,032,0002,535,424
12May 11, 2021 15:516,13449,050,50518,595,0001,033,0002,330,624
13May 11, 2021 15:516,13649,267,64218,601,0001,033,0002,523,136
14May 11, 2021 15:516,13951,388,22619,645,00002,326,528
15May 11, 2021 15:526,14147,805,75318,617,0001,034,0002,531,328
16May 11, 2021 15:526,14349,582,10517,590,0002,069,0002,326,528
17May 11, 2021 15:516,14447,021,38718,628,0001,034,0002,326,528
18May 11, 2021 15:526,14645,582,04019,668,00002,326,528
19May 11, 2021 15:516,14846,124,25919,675,00002,330,624
20May 11, 2021 15:526,14950,089,02417,605,0002,071,0002,527,232
21May 11, 2021 15:526,15650,538,40118,664,0001,036,0002,326,528
22May 11, 2021 15:526,16038,222,34818,676,0001,037,0002,326,528
23May 11, 2021 15:516,16649,031,09018,692,0001,038,0002,523,136
24May 11, 2021 15:526,19885,578,60319,832,73802,244,608
25May 11, 2021 15:516,20483,459,22719,853,36502,244,608
26May 11, 2021 15:516,20947,767,60618,876,000993,0002,523,136
27May 11, 2021 15:516,21385,208,05719,882,71302,244,608
28May 11, 2021 15:516,21344,610,57618,888,000994,0002,330,624
29May 11, 2021 15:516,21745,090,89517,905,0001,989,0002,330,624
30May 11, 2021 15:516,21845,069,00418,903,000994,0002,531,328
31May 11, 2021 15:516,21896,608,60519,897,17102,236,416
32May 11, 2021 15:526,22979,430,81119,932,93902,240,512
33May 11, 2021 15:516,24576,982,14219,982,71202,240,512
34May 11, 2021 15:526,245110,359,74919,984,98402,248,704
35May 11, 2021 15:516,25488,768,50920,012,85002,236,416
36May 11, 2021 15:526,29888,923,31520,152,86302,240,512
37May 11, 2021 15:516,30263,986,66520,166,23902,240,512
38May 11, 2021 15:526,30378,876,41820,171,14202,240,512
39May 11, 2021 15:526,32086,102,47620,224,74602,240,512
40May 11, 2021 15:526,34279,206,72420,292,80602,236,416
41May 11, 2021 15:526,369102,952,61220,379,41702,236,416
42May 11, 2021 15:526,42780,712,67720,567,56402,244,608