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 23:55Mikhail DektyarevMikhail DektyarevScore: 4,655Success
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 23:554,60638,874,54113,687,0001,052,0002,281,472
2May 25, 2021 23:554,64534,655,34714,863,00002,281,472
3May 25, 2021 23:554,64639,683,15812,886,0001,982,0002,281,472
4May 25, 2021 23:554,64744,476,46413,880,000991,0002,396,160
5May 25, 2021 23:554,64732,813,93212,889,0001,982,0002,281,472
6May 25, 2021 23:554,64833,259,61513,881,000991,0002,281,472
7May 25, 2021 23:554,64838,483,35212,890,0001,983,0002,400,256
8May 25, 2021 23:554,64937,746,23512,894,0001,983,0002,281,472
9May 25, 2021 23:554,64935,596,69613,885,000991,0002,400,256
10May 25, 2021 23:554,65036,914,18913,888,000992,0002,281,472
11May 25, 2021 23:554,65144,936,56213,892,000992,0002,281,472
12May 25, 2021 23:554,65229,617,32413,895,000992,0002,396,160
13May 25, 2021 23:554,65228,407,69613,893,000992,0002,396,160
14May 25, 2021 23:554,65335,393,55312,903,0001,985,0002,404,352
15May 25, 2021 23:554,65340,061,99512,904,0001,985,0002,404,352
16May 25, 2021 23:554,65332,746,21512,903,0001,985,0002,400,256
17May 25, 2021 23:554,65436,855,56912,907,0001,985,0002,281,472
18May 25, 2021 23:554,65536,223,02214,895,00002,281,472
19May 25, 2021 23:554,65534,052,50913,903,000993,0002,281,472
20May 25, 2021 23:554,65841,337,97713,912,000993,0002,281,472
21May 25, 2021 23:554,65932,047,71713,845,0001,065,0002,273,280
22May 25, 2021 23:554,66044,837,52914,913,00002,392,064
23May 25, 2021 23:554,66136,611,74814,914,00002,277,376
24May 25, 2021 23:554,67632,552,41813,967,000997,0002,396,160
25May 25, 2021 23:554,67934,696,58012,978,0001,996,0002,281,472
26May 25, 2021 23:554,68638,984,13413,997,000999,0002,387,968
27May 25, 2021 23:554,69332,266,61313,015,0002,002,0002,396,160
28May 25, 2021 23:554,83363,375,77415,464,46702,285,568
29May 25, 2021 23:554,84639,992,12015,506,55902,260,992
30May 25, 2021 23:554,85644,096,97015,540,55502,285,568
31May 25, 2021 23:554,87760,331,88215,606,59002,297,856
32May 25, 2021 23:554,88176,272,60415,617,61602,281,472
33May 25, 2021 23:554,88367,256,56415,626,05002,289,664
34May 25, 2021 23:554,88479,925,30815,627,94702,301,952
35May 25, 2021 23:554,91348,110,32315,721,36402,289,664
36May 25, 2021 23:555,16595,367,62016,528,31702,293,760