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 16, 2021 18:21Yuriy LyfenkoYuriy LyfenkoScore: 5,432Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:215,3952,360,280,97315,347,0001,918,0002,519,040
2May 16, 2021 18:215,400882,499,38516,265,0001,016,0002,523,136
3May 16, 2021 18:205,4021,351,338,51515,252,0002,033,0002,523,136
4May 16, 2021 18:205,404523,803,84414,410,0002,882,0002,519,040
5May 16, 2021 18:205,4052,591,187,40216,279,0001,017,0002,519,040
6May 16, 2021 18:205,4081,627,280,27115,384,0001,923,0002,523,136
7May 16, 2021 18:205,4102,126,203,64015,275,0002,036,0002,260,992
8May 16, 2021 18:215,4102,619,041,50215,389,0001,923,0002,523,136
9May 16, 2021 18:215,4261,136,722,68217,364,00002,519,040
10May 16, 2021 18:205,4271,614,102,38515,437,0001,929,0002,260,992
11May 16, 2021 18:215,4281,385,668,58214,475,0002,895,0002,523,136
12May 16, 2021 18:205,429968,550,96917,373,00002,396,160
13May 16, 2021 18:215,4321,807,563,31116,416,000965,0002,527,232
14May 16, 2021 18:215,432533,959,35516,361,0001,022,0002,260,992
15May 16, 2021 18:215,4401,644,230,40113,541,0003,868,0002,265,088
16May 16, 2021 18:205,4411,079,137,92016,443,000967,0002,473,984
17May 16, 2021 18:215,4452,651,798,78916,457,000968,0002,523,136
18May 16, 2021 18:205,456901,618,25313,579,0003,879,0002,527,232
19May 16, 2021 18:215,6242,004,308,89817,995,39402,277,376
20May 16, 2021 18:205,625941,477,08318,000,81402,277,376
21May 16, 2021 18:205,6282,954,204,89718,008,24002,285,568
22May 16, 2021 18:215,6392,463,768,98318,044,44802,277,376
23May 16, 2021 18:215,651383,776,82218,081,82702,281,472
24May 16, 2021 18:205,6582,541,963,68118,104,50902,281,472