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 18, 2021 13:53Yuriy LyfenkoYuriy LyfenkoScore: 5,452Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:535,415414,585,86216,367,000962,0002,392,064
2May 18, 2021 13:535,4162,282,025,80315,405,0001,925,0002,527,232
3May 18, 2021 14:005,4171,706,087,97216,315,0001,019,0002,269,184
4May 18, 2021 14:005,4172,312,323,61515,408,0001,926,0002,527,232
5May 18, 2021 14:005,421512,962,20417,348,00002,265,088
6May 18, 2021 13:535,4241,931,132,11616,336,0001,021,0002,260,992
7May 18, 2021 14:005,4262,668,080,20216,342,0001,021,0002,265,088
8May 18, 2021 13:535,431764,848,53717,380,00002,523,136
9May 18, 2021 14:005,4341,545,028,74114,491,0002,898,0002,396,160
10May 18, 2021 14:005,4392,748,080,31717,404,00002,265,088
11May 18, 2021 14:005,4452,897,681,99417,425,00002,256,896
12May 18, 2021 13:535,4491,956,128,75914,359,0003,077,0002,265,088
13May 18, 2021 13:535,4522,020,340,83515,394,0002,052,0002,260,992
14May 18, 2021 13:535,464171,691,52216,513,000971,0002,265,088
15May 18, 2021 13:535,4661,860,559,02116,521,000971,0002,527,232
16May 18, 2021 13:535,468852,229,08917,499,00002,523,136
17May 18, 2021 14:005,4731,858,029,00915,567,0001,945,0002,527,232
18May 18, 2021 14:005,4891,028,616,78514,638,0002,927,0002,265,088
19May 18, 2021 14:005,548502,197,40017,752,45302,277,376
20May 18, 2021 13:535,5542,713,976,66217,771,57502,281,472
21May 18, 2021 13:535,5691,794,205,13117,821,34002,273,280
22May 18, 2021 13:535,5711,342,096,07517,826,25102,281,472
23May 18, 2021 14:005,585887,072,36617,873,38402,281,472
24May 18, 2021 14:005,5871,873,598,60217,879,95402,281,472