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 27, 2021 19:37Mikhail ShirokovMikhail ShirokovScore: 5,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:435,47737,711,12416,495,0001,030,0002,387,968
2May 27, 2021 19:435,52138,467,79616,629,0001,039,0002,265,088
3May 27, 2021 19:435,52133,737,03916,628,0001,039,0002,265,088
4May 27, 2021 19:375,53349,291,35216,666,0001,041,0002,396,160
5May 27, 2021 19:375,58245,578,63016,871,000992,0002,396,160
6May 27, 2021 19:435,58345,241,50616,872,000992,0002,387,968
7May 27, 2021 19:375,58436,155,53316,877,000992,0002,265,088
8May 27, 2021 19:375,58744,580,80216,885,000993,0002,265,088
9May 27, 2021 19:375,58841,514,96916,889,000993,0002,265,088
10May 27, 2021 19:435,58832,612,21316,887,000993,0002,527,232
11May 27, 2021 19:375,59142,215,57515,904,0001,988,0002,265,088
12May 27, 2021 19:435,59350,943,50616,902,000994,0002,265,088
13May 27, 2021 19:435,59347,506,11716,905,000994,0002,510,848
14May 27, 2021 19:435,60244,642,50316,930,000995,0002,392,064
15May 27, 2021 19:435,60233,701,09717,926,00002,265,088
16May 27, 2021 19:375,60746,169,56916,945,000996,0002,265,088
17May 27, 2021 19:375,62848,867,62317,011,0001,000,0002,265,088
18May 27, 2021 19:375,63854,551,72716,039,0002,004,0002,265,088
19May 27, 2021 19:375,75397,750,85518,408,74102,277,376
20May 27, 2021 19:435,76243,928,45818,438,22602,277,376
21May 27, 2021 19:435,80251,744,63318,566,99002,281,472
22May 27, 2021 19:375,82159,931,74918,626,06402,412,544
23May 27, 2021 19:375,82651,881,03018,642,95802,281,472
24May 27, 2021 19:436,006107,524,89919,218,35302,285,568