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 22, 2021 12:32Vladimir KuryakovVladimir KuryakovScore: 5,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 12:255,66237,577,92416,104,0002,013,0002,519,040
2May 22, 2021 12:325,69043,721,96917,196,0001,011,0002,502,656
3May 22, 2021 12:255,69544,942,70416,199,0002,024,0002,387,968
4May 22, 2021 12:255,70341,568,16817,237,0001,013,0002,519,040
5May 22, 2021 12:255,70738,112,93815,219,0003,043,0002,519,040
6May 22, 2021 12:325,70744,964,71616,233,0002,029,0002,396,160
7May 22, 2021 12:255,70848,544,89016,235,0002,029,0002,392,064
8May 22, 2021 12:325,70948,931,84917,254,0001,014,0002,519,040
9May 22, 2021 12:255,71346,501,38215,236,0003,047,0002,519,040
10May 22, 2021 12:325,71540,498,38917,273,0001,016,0002,519,040
11May 22, 2021 12:325,71743,620,40216,263,0002,032,0002,260,992
12May 22, 2021 12:325,71741,331,21217,278,0001,016,0002,260,992
13May 22, 2021 12:255,71847,571,75317,280,0001,016,0002,392,064
14May 22, 2021 12:255,72443,024,38417,352,000964,0002,519,040
15May 22, 2021 12:325,72439,897,20816,281,0002,035,0002,519,040
16May 22, 2021 12:255,73344,096,61316,307,0002,038,0002,519,040
17May 22, 2021 12:325,74941,767,53417,374,0001,022,0002,392,064
18May 22, 2021 12:325,77641,222,90518,482,00002,519,040
19May 22, 2021 12:255,93296,742,97718,982,46402,281,472
20May 22, 2021 12:325,98393,498,06219,144,93502,289,664
21May 22, 2021 12:325,98458,330,10519,147,59102,293,760
22May 22, 2021 12:255,98484,746,33719,150,06202,277,376
23May 22, 2021 12:325,98977,908,83019,165,34802,281,472
24May 22, 2021 12:325,99079,337,60919,169,34602,281,472
25May 22, 2021 12:325,99775,622,56119,189,12102,289,664
26May 22, 2021 12:256,00583,866,54119,214,78002,281,472
27May 22, 2021 12:256,00883,679,23219,225,36002,289,664
28May 22, 2021 12:256,03777,618,00319,319,31602,289,664
29May 22, 2021 12:256,04294,613,76619,335,18502,285,568
30May 22, 2021 12:326,05856,836,14619,385,77102,285,568