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 14, 2021 21:03alex3dalex3dScore: 4,742Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:034,6975,673,423,07713,957,0001,073,0002,523,136
2May 15, 2021 08:114,7062,207,332,26013,984,0001,075,0002,523,136
3May 15, 2021 08:114,7084,159,296,29313,990,0001,076,0002,523,136
4May 15, 2021 08:114,7093,150,558,33415,068,00002,523,136
5May 14, 2021 21:034,7107,005,694,95414,067,0001,004,0002,519,040
6May 15, 2021 08:114,7156,507,626,75315,089,00002,523,136
7May 15, 2021 08:114,7151,722,144,89815,088,00002,523,136
8May 15, 2021 08:114,7191,602,144,54314,096,0001,006,0002,523,136
9May 14, 2021 21:034,7205,088,878,85613,091,0002,014,0002,523,136
10May 15, 2021 08:114,7219,537,853,55013,220,0001,888,0002,523,136
11May 15, 2021 08:114,7215,814,990,78313,094,0002,014,0002,523,136
12May 15, 2021 08:114,7243,194,257,24213,102,0002,015,0002,523,136
13May 15, 2021 08:114,7253,451,787,98614,040,0001,080,0002,519,040
14May 15, 2021 08:114,7278,086,907,55015,126,00002,519,040
15May 15, 2021 08:114,7278,522,711,61915,127,00002,523,136
16May 15, 2021 08:114,7285,716,785,76114,048,0001,080,0002,519,040
17May 15, 2021 08:114,7288,019,423,79314,120,0001,008,0002,514,944
18May 15, 2021 08:114,7304,355,175,86615,135,00002,514,944
19May 14, 2021 21:034,7318,764,262,13414,130,0001,009,0002,523,136
20May 15, 2021 08:114,7334,132,306,78014,138,0001,009,0002,523,136
21May 15, 2021 08:114,7364,242,957,60215,154,00002,514,944
22May 14, 2021 21:034,7388,216,992,66014,150,0001,010,0002,523,136
23May 15, 2021 08:114,7402,698,831,87015,167,00002,514,944
24May 15, 2021 08:114,7415,966,061,20514,159,0001,011,0002,519,040
25May 15, 2021 08:114,7426,960,634,49214,164,0001,011,0002,519,040
26May 14, 2021 21:034,7422,620,615,91914,226,000948,0002,523,136
27May 15, 2021 08:114,7452,382,986,41414,171,0001,012,0002,523,136
28May 15, 2021 08:114,7474,213,376,62115,191,00002,523,136
29May 15, 2021 08:114,7479,259,541,04513,166,0002,025,0002,523,136
30May 14, 2021 21:034,7505,142,648,71615,201,00002,514,944
31May 14, 2021 21:034,7514,480,579,46513,176,0002,027,0002,523,136
32May 14, 2021 21:034,7557,135,901,95315,216,00002,523,136
33May 15, 2021 08:114,7577,607,196,42414,209,0001,014,0002,523,136
34May 15, 2021 08:114,7628,198,837,91014,223,0001,015,0002,523,136
35May 15, 2021 08:114,7674,131,230,77815,255,00002,523,136
36May 15, 2021 08:114,7768,571,478,09515,283,00002,523,136
37May 15, 2021 08:114,9451,977,506,29715,824,81002,281,472
38May 15, 2021 08:114,9586,871,984,47415,867,15302,281,472
39May 14, 2021 21:034,9626,775,971,64415,878,79002,277,376
40May 15, 2021 08:114,964379,653,90715,883,61802,277,376
41May 15, 2021 08:114,9727,068,880,74015,910,10302,277,376
42May 15, 2021 08:114,974518,284,06715,916,49502,269,184
43May 15, 2021 08:114,9749,375,636,02615,918,21002,281,472
44May 15, 2021 08:114,9755,861,734,29315,919,21902,269,184
45May 14, 2021 21:034,9771,974,329,31915,925,34002,281,472
46May 14, 2021 21:034,9773,336,387,63315,924,83202,285,568
47May 15, 2021 08:114,9847,327,111,11915,949,22202,277,376
48May 15, 2021 08:115,0016,154,774,38616,004,31902,281,472