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 21, 2021 17:04Dmitry DolgopolovDmitry DolgopolovScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 17:045,20339,080,25315,610,0001,040,0002,383,872
2May 21, 2021 17:045,21151,243,93315,634,0001,042,0002,265,088
3May 21, 2021 17:045,21633,585,03715,648,0001,043,0002,387,968
4May 21, 2021 17:045,21842,545,60616,696,00002,265,088
5May 21, 2021 17:045,22741,910,24815,680,0001,045,0002,387,968
6May 21, 2021 17:045,22742,184,43516,725,00002,265,088
7May 21, 2021 17:045,22843,396,34115,747,000984,0002,265,088
8May 21, 2021 17:045,22836,706,12516,729,00002,396,160
9May 21, 2021 17:045,23343,552,12615,700,0001,046,0002,383,872
10May 21, 2021 17:045,27049,786,23614,881,0001,984,0002,383,872
11May 21, 2021 17:045,27134,032,35016,866,00002,523,136
12May 21, 2021 17:045,27142,463,26615,876,000992,0002,265,088
13May 21, 2021 17:045,27148,604,44914,882,0001,984,0002,383,872
14May 21, 2021 17:045,27241,819,99714,886,0001,984,0002,383,872
15May 21, 2021 17:045,27442,652,31516,877,00002,396,160
16May 21, 2021 17:045,27737,418,29314,900,0001,986,0002,367,488
17May 21, 2021 17:045,28032,428,65015,903,000993,0002,387,968
18May 21, 2021 17:045,28133,957,51116,899,00002,265,088
19May 21, 2021 17:045,45481,495,12417,451,89902,289,664
20May 21, 2021 17:045,45678,643,25917,459,40002,285,568
21May 21, 2021 17:045,47980,897,36117,533,55402,285,568
22May 21, 2021 17:045,48287,472,07817,542,93302,277,376
23May 21, 2021 17:045,48259,892,00617,542,68202,281,472
24May 21, 2021 17:045,49287,779,85317,573,09502,281,472
25May 21, 2021 17:045,493105,203,87417,579,04502,277,376
26May 21, 2021 17:045,49773,776,20817,590,57802,289,664
27May 21, 2021 17:045,50059,441,86917,600,11902,273,280
28May 21, 2021 17:045,501106,510,18617,603,79702,281,472
29May 21, 2021 17:045,51481,420,25817,645,03002,277,376
30May 21, 2021 17:045,51673,385,54117,649,99102,277,376