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 22:53alex3dalex3dScore: 5,508Success
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 22:535,46341,806,88617,482,00002,265,088
2May 19, 2021 22:535,46843,530,22615,438,0002,058,0002,269,184
3May 19, 2021 22:535,47042,031,19415,445,0002,059,0002,269,184
4May 19, 2021 22:535,47151,132,29816,478,0001,029,0002,441,216
5May 19, 2021 22:535,47741,259,20717,525,00002,445,312
6May 19, 2021 22:535,47830,566,11917,530,00002,445,312
7May 19, 2021 22:535,48434,954,74217,549,00002,527,232
8May 19, 2021 22:535,48539,059,57317,552,00002,265,088
9May 19, 2021 22:535,48540,267,28316,520,0001,032,0002,441,216
10May 19, 2021 22:535,49237,619,02717,575,00002,269,184
11May 19, 2021 22:535,49337,030,52916,543,0001,033,0002,269,184
12May 19, 2021 22:535,49642,513,19016,553,0001,034,0002,531,328
13May 19, 2021 22:535,49939,318,22917,596,00002,453,504
14May 19, 2021 22:535,50132,338,28016,567,0001,035,0002,445,312
15May 19, 2021 22:535,50245,706,57315,536,0002,071,0002,445,312
16May 19, 2021 22:535,50239,356,93515,536,0002,071,0002,531,328
17May 19, 2021 22:535,50232,552,30717,607,00002,531,328
18May 19, 2021 22:535,50346,782,64816,575,0001,035,0002,269,184
19May 19, 2021 22:535,50535,092,60017,615,00002,531,328
20May 19, 2021 22:535,50646,871,71417,620,00002,527,232
21May 19, 2021 22:535,50642,677,69215,546,0002,072,0002,445,312
22May 19, 2021 22:535,50830,043,16316,591,0001,036,0002,285,568
23May 19, 2021 22:535,50845,139,86017,626,00002,441,216
24May 19, 2021 22:535,51348,457,22117,643,00002,269,184
25May 19, 2021 22:535,51444,205,81417,646,00002,445,312
26May 19, 2021 22:535,51941,048,43217,660,00002,531,328
27May 19, 2021 22:535,56341,827,13815,824,0001,978,0002,269,184
28May 19, 2021 22:535,73479,992,54118,347,32802,203,648
29May 19, 2021 22:535,75472,705,33318,412,71202,207,744
30May 19, 2021 22:535,76479,741,93318,445,83902,211,840
31May 19, 2021 22:535,76962,723,42618,461,01902,199,552
32May 19, 2021 22:535,77655,402,49818,483,81502,203,648
33May 19, 2021 22:535,77657,243,85518,482,15102,195,456
34May 19, 2021 22:535,77779,687,10618,486,15702,203,648
35May 19, 2021 22:535,78491,658,68618,508,05402,203,648
36May 19, 2021 22:535,79280,034,43718,535,63902,203,648
37May 19, 2021 22:535,79361,795,29318,539,01202,195,456
38May 19, 2021 22:535,79679,763,79518,545,80602,199,552
39May 19, 2021 22:535,80585,380,55118,576,27702,195,456
40May 19, 2021 22:535,83992,616,50118,684,89302,203,648
41May 19, 2021 22:535,84391,167,25618,696,36402,195,456
42May 19, 2021 22:535,84571,747,04818,704,19702,195,456
43May 19, 2021 22:535,84592,509,58118,704,99802,203,648
44May 19, 2021 22:535,85781,017,19018,743,35302,203,648
45May 19, 2021 22:535,87284,068,01918,790,59102,203,648