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 22:28Yuriy LyfenkoYuriy LyfenkoScore: 5,446Success
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 22:285,4044,946,864,74116,275,0001,017,0002,260,992
2May 16, 2021 22:285,404185,806,71017,292,00002,260,992
3May 16, 2021 22:335,4061,714,571,68016,283,0001,017,0002,519,040
4May 16, 2021 22:285,4143,689,479,96017,325,00002,523,136
5May 16, 2021 22:285,4153,861,009,29014,440,0002,888,0002,523,136
6May 16, 2021 22:335,4192,968,938,00017,341,00002,519,040
7May 16, 2021 22:335,4263,972,239,67517,363,00002,260,992
8May 16, 2021 22:335,4273,892,426,09616,344,0001,021,0002,523,136
9May 16, 2021 22:335,4283,391,868,10616,406,000965,0002,523,136
10May 16, 2021 22:335,432747,703,19316,359,0001,022,0002,519,040
11May 16, 2021 22:285,4342,561,064,27215,343,0002,045,0002,527,232
12May 16, 2021 22:335,4402,146,776,78716,441,000967,0002,260,992
13May 16, 2021 22:285,4462,092,155,00016,401,0001,025,0002,519,040
14May 16, 2021 22:335,4481,357,758,08516,408,0001,025,0002,523,136
15May 16, 2021 22:335,4532,367,859,77716,423,0001,026,0002,523,136
16May 16, 2021 22:285,4702,989,324,24115,560,0001,945,0002,260,992
17May 16, 2021 22:285,4713,218,310,60015,449,0002,059,0002,260,992
18May 16, 2021 22:285,4713,479,257,35217,508,00002,523,136
19May 16, 2021 22:335,6252,590,092,32518,001,07302,285,568
20May 16, 2021 22:285,630958,422,12318,017,17502,281,472
21May 16, 2021 22:335,632204,144,25818,021,88102,277,376
22May 16, 2021 22:285,648414,396,31518,073,23602,285,568
23May 16, 2021 22:335,6653,603,027,36018,128,34302,285,568
24May 16, 2021 22:285,6774,509,448,75418,165,29702,277,376