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 25, 2021 03:17Yuriy LyfenkoYuriy LyfenkoScore: 5,106Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 03:175,03053,953,31314,084,0002,012,0002,265,088
2May 25, 2021 03:175,04932,415,48215,149,0001,009,0002,265,088
3May 25, 2021 03:175,06843,235,77714,189,0002,027,0002,265,088
4May 25, 2021 03:175,07940,985,61514,222,0002,031,0002,265,088
5May 25, 2021 03:175,08141,551,48716,260,00002,265,088
6May 25, 2021 03:175,08237,555,25615,247,0001,016,0002,392,064
7May 25, 2021 03:175,08639,969,05515,258,0001,017,0002,392,064
8May 25, 2021 03:175,09135,692,27115,272,0001,018,0002,265,088
9May 25, 2021 03:175,09631,483,09915,287,0001,019,0002,269,184
10May 25, 2021 03:175,09835,268,44415,295,0001,019,0002,265,088
11May 25, 2021 03:175,10237,224,30315,305,0001,020,0002,387,968
12May 25, 2021 03:175,10434,519,71215,313,0001,020,0002,269,184
13May 25, 2021 03:175,10640,455,79915,319,0001,021,0002,392,064
14May 25, 2021 03:175,10736,552,98916,341,00002,265,088
15May 25, 2021 03:175,11444,903,21816,364,00002,527,232
16May 25, 2021 03:175,11839,787,32216,379,00002,265,088
17May 25, 2021 03:175,12433,310,60116,396,00002,265,088
18May 25, 2021 03:175,12837,511,48815,384,0001,025,0002,383,872
19May 25, 2021 03:175,28081,337,87816,897,57302,277,376
20May 25, 2021 03:175,28845,355,01016,920,62502,285,568
21May 25, 2021 03:175,296107,671,76116,948,51902,281,472
22May 25, 2021 03:175,30768,929,38116,981,08502,269,184
23May 25, 2021 03:175,32791,703,59217,046,18302,273,280
24May 25, 2021 03:175,35766,233,44917,141,24902,273,280