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 17:39Yuriy LyfenkoYuriy LyfenkoScore: 5,595Success
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 17:395,54533,470,15217,744,00002,387,968
2May 11, 2021 17:395,57645,302,32415,862,0001,982,0002,519,040
3May 11, 2021 17:395,57741,230,58215,863,0001,982,0002,379,776
4May 11, 2021 17:395,58338,094,60416,873,000992,0002,519,040
5May 11, 2021 17:395,58344,709,00915,880,0001,985,0002,519,040
6May 11, 2021 17:395,58548,498,60614,893,0002,978,0002,519,040
7May 11, 2021 17:395,58743,919,34413,906,0003,973,0002,383,872
8May 11, 2021 17:395,58743,432,77516,886,000993,0002,519,040
9May 11, 2021 17:395,58848,956,55115,894,0001,986,0002,519,040
10May 11, 2021 17:395,58945,284,75815,898,0001,987,0002,519,040
11May 11, 2021 17:395,59147,542,05714,909,0002,981,0002,396,160
12May 11, 2021 17:395,59344,316,47517,896,00002,519,040
13May 11, 2021 17:395,59547,074,92916,852,0001,053,0002,396,160
14May 11, 2021 17:395,59639,328,06515,919,0001,989,0002,519,040
15May 11, 2021 17:395,60146,175,12316,929,000995,0002,510,848
16May 11, 2021 17:395,60351,580,98715,936,0001,992,0002,383,872
17May 11, 2021 17:395,60648,682,21015,945,0001,993,0002,392,064
18May 11, 2021 17:395,61143,169,43615,960,0001,995,0002,519,040
19May 11, 2021 17:395,96281,509,11419,079,45902,269,184
20May 11, 2021 17:396,03384,142,99119,305,02302,285,568
21May 11, 2021 17:396,04375,291,22019,336,69102,273,280
22May 11, 2021 17:396,04973,156,79419,358,33702,277,376
23May 11, 2021 17:396,05884,408,57319,385,17202,277,376
24May 11, 2021 17:396,06773,938,31119,414,90902,285,568