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:34Mikhail DektyarevMikhail DektyarevScore: 4,721Success
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:344,68442,477,37012,991,0001,998,0002,281,472
2May 25, 2021 23:344,69234,581,87013,012,0002,001,0002,281,472
3May 25, 2021 23:344,69830,649,61515,034,00002,281,472
4May 25, 2021 23:344,70240,875,67614,042,0001,003,0002,396,160
5May 25, 2021 23:344,70631,396,00113,051,0002,007,0002,404,352
6May 25, 2021 23:344,70634,019,05513,051,0002,007,0002,396,160
7May 25, 2021 23:344,70736,609,60115,061,00002,392,064
8May 25, 2021 23:344,71541,800,77514,082,0001,005,0002,400,256
9May 25, 2021 23:344,71535,164,29415,087,00002,400,256
10May 25, 2021 23:344,71637,150,81913,079,0002,012,0002,281,472
11May 25, 2021 23:344,71833,982,20513,086,0002,013,0002,281,472
12May 25, 2021 23:344,71929,408,21414,094,0001,006,0002,400,256
13May 25, 2021 23:344,72137,442,42714,101,0001,007,0002,400,256
14May 25, 2021 23:344,72332,149,43514,106,0001,007,0002,281,472
15May 25, 2021 23:344,72332,382,09013,100,0002,015,0002,392,064
16May 25, 2021 23:344,73040,993,14313,118,0002,018,0002,281,472
17May 25, 2021 23:344,73137,913,27513,122,0002,018,0002,400,256
18May 25, 2021 23:344,75245,435,70313,178,0002,027,0002,502,656
19May 25, 2021 23:344,90443,887,92915,692,10102,293,760
20May 25, 2021 23:344,90652,159,28815,699,24202,256,896
21May 25, 2021 23:344,93082,353,76515,776,83902,281,472
22May 25, 2021 23:344,96048,372,42015,873,31302,285,568
23May 25, 2021 23:345,01465,820,61516,046,21702,289,664
24May 25, 2021 23:345,63970,894,44618,044,03502,293,760