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 26, 2021 20:34Yuriy LyfenkoYuriy LyfenkoScore: 5,190Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2021 20:295,08831,110,32815,266,0001,017,0002,265,088
2May 26, 2021 20:295,10832,093,95216,347,00002,502,656
3May 26, 2021 20:295,11141,425,02514,310,0002,044,0002,265,088
4May 26, 2021 20:295,11348,635,98414,316,0002,045,0002,265,088
5May 26, 2021 20:295,11534,097,17016,367,00002,396,160
6May 26, 2021 20:295,11833,649,54114,329,0002,047,0002,265,088
7May 26, 2021 20:295,14742,221,94616,469,00002,396,160
8May 26, 2021 20:295,15039,766,20615,450,0001,030,0002,265,088
9May 26, 2021 20:295,15336,174,49315,458,0001,030,0002,265,088
10May 26, 2021 20:345,16235,629,26515,485,0001,032,0002,269,184
11May 26, 2021 20:345,17039,343,56816,543,00002,265,088
12May 26, 2021 20:345,18338,163,70716,586,00002,265,088
13May 26, 2021 20:345,19038,906,94215,571,0001,038,0002,265,088
14May 26, 2021 20:345,19343,907,21415,579,0001,038,0002,265,088
15May 26, 2021 20:345,19343,815,07716,617,00002,265,088
16May 26, 2021 20:345,21747,078,47816,693,00002,400,256
17May 26, 2021 20:345,21741,799,42815,712,000982,0002,265,088
18May 26, 2021 20:345,27141,395,49315,874,000992,0002,523,136
19May 26, 2021 20:295,28752,241,15716,919,13702,273,280
20May 26, 2021 20:295,32093,774,03117,024,28702,281,472
21May 26, 2021 20:345,33648,013,90517,074,97302,277,376
22May 26, 2021 20:345,34484,421,16317,101,76802,269,184
23May 26, 2021 20:295,35375,752,75517,129,92902,351,104
24May 26, 2021 20:345,40671,622,45717,298,92302,277,376