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 13, 2021 19:34alex3dalex3dScore: 5,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:335,12435,058,41215,372,0001,024,0002,535,424
2May 13, 2021 19:335,12941,227,94315,388,0001,025,0002,433,024
3May 13, 2021 19:335,13742,153,52815,412,0001,027,0002,273,280
4May 13, 2021 19:335,13742,718,36115,411,0001,027,0002,273,280
5May 13, 2021 19:335,15036,339,17715,450,0001,030,0002,445,312
6May 13, 2021 19:355,15533,843,11815,465,0001,031,0002,273,280
7May 13, 2021 19:335,16132,265,36815,483,0001,032,0002,453,504
8May 13, 2021 19:335,16237,505,46615,485,0001,032,0002,535,424
9May 13, 2021 19:335,16832,947,75015,505,0001,033,0002,269,184
10May 13, 2021 19:335,17139,991,73915,513,0001,034,0002,445,312
11May 13, 2021 19:355,17632,628,01615,529,0001,035,0002,433,024
12May 13, 2021 19:355,17835,307,46615,535,0001,035,0002,535,424
13May 13, 2021 19:355,18841,904,89615,566,0001,037,0002,449,408
14May 13, 2021 19:355,19140,922,66215,573,0001,038,0002,535,424
15May 13, 2021 19:355,19438,002,50816,622,00002,535,424
16May 13, 2021 19:355,19942,699,15615,599,0001,039,0002,535,424
17May 13, 2021 19:355,20935,003,80815,627,0001,041,0002,273,280
18May 13, 2021 19:355,20942,769,27115,629,0001,041,0002,273,280
19May 13, 2021 19:335,39279,093,49917,255,45302,195,456
20May 13, 2021 19:335,39485,176,16517,260,45102,207,744
21May 13, 2021 19:355,40788,787,69517,302,89802,203,648
22May 13, 2021 19:355,41759,965,18017,334,49702,199,552
23May 13, 2021 19:355,41884,006,37717,336,70202,199,552
24May 13, 2021 19:335,48277,049,05217,543,26602,211,840
25May 13, 2021 19:345,67736,903,59216,149,0002,018,0002,428,928
26May 13, 2021 19:345,69143,625,49016,189,0002,023,0002,535,424
27May 13, 2021 19:345,69441,119,31516,198,0002,024,0002,424,832
28May 13, 2021 19:345,70442,894,59717,240,0001,014,0002,531,328
29May 13, 2021 19:345,70635,970,07917,244,0001,014,0002,531,328
30May 13, 2021 19:345,70638,596,94517,246,0001,014,0002,269,184
31May 13, 2021 19:345,71138,652,25917,259,0001,015,0002,273,280
32May 13, 2021 19:345,71240,483,69516,247,0002,030,0002,531,328
33May 13, 2021 19:345,71535,946,48917,272,0001,016,0002,531,328
34May 13, 2021 19:345,72342,163,45317,298,0001,017,0002,531,328
35May 13, 2021 19:345,72734,301,18517,309,0001,018,0002,428,928
36May 13, 2021 19:345,72946,026,83217,316,0001,018,0002,273,280
37May 13, 2021 19:345,73038,900,73717,318,0001,018,0002,433,024
38May 13, 2021 19:345,73140,956,33017,321,0001,018,0002,269,184
39May 13, 2021 19:345,73441,167,44217,330,0001,019,0002,273,280
40May 13, 2021 19:345,73844,219,46617,343,0001,020,0002,424,832
41May 13, 2021 19:345,75739,139,17717,400,0001,023,0002,433,024
42May 13, 2021 19:345,76643,278,69418,452,00002,433,024
43May 13, 2021 19:345,92169,119,55718,948,21902,191,360
44May 13, 2021 19:345,92984,908,95218,974,32302,179,072
45May 13, 2021 19:345,93582,431,35518,991,78802,195,456
46May 13, 2021 19:345,94475,924,93119,020,77302,191,360
47May 13, 2021 19:345,95379,930,98919,049,20602,195,456
48May 13, 2021 19:345,97679,276,13819,123,67102,191,360