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 17, 2021 19:46Yuriy LyfenkoYuriy LyfenkoScore: 5,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:445,318598,075,62017,019,00002,387,968
2May 17, 2021 19:465,3191,952,063,83214,017,0003,003,0002,260,992
3May 17, 2021 19:445,3221,349,385,64817,029,00002,265,088
4May 17, 2021 19:465,3311,647,073,91914,048,0003,010,0002,265,088
5May 17, 2021 19:465,3321,186,965,62115,055,0002,007,0002,265,088
6May 17, 2021 19:445,3331,076,812,02916,061,0001,003,0002,273,280
7May 17, 2021 19:445,336330,880,12015,067,0002,008,0002,269,184
8May 17, 2021 19:445,3372,430,470,95117,077,00002,523,136
9May 17, 2021 19:445,3382,879,442,67015,072,0002,009,0002,269,184
10May 17, 2021 19:465,3382,405,827,21914,068,0003,014,0002,527,232
11May 17, 2021 19:445,339419,160,13816,081,0001,005,0002,396,160
12May 17, 2021 19:445,3411,013,023,77414,243,0002,848,0002,265,088
13May 17, 2021 19:445,3431,614,002,74317,097,00002,269,184
14May 17, 2021 19:445,3471,604,379,02816,104,0001,006,0002,265,088
15May 17, 2021 19:445,348391,550,45714,974,0002,139,0002,400,256
16May 17, 2021 19:465,348441,620,71217,114,00002,265,088
17May 17, 2021 19:465,354352,872,47715,230,0001,903,0002,273,280
18May 17, 2021 19:465,3582,511,373,18316,136,0001,008,0002,265,088
19May 17, 2021 19:465,358197,782,19615,242,0001,905,0002,265,088
20May 17, 2021 19:465,3602,638,613,48117,153,00002,527,232
21May 17, 2021 19:445,3602,160,350,34014,125,0003,026,0002,396,160
22May 17, 2021 19:445,3622,177,911,27715,253,0001,906,0002,527,232
23May 17, 2021 19:445,3632,206,646,57916,208,000953,0002,265,088
24May 17, 2021 19:445,3662,491,138,51016,161,0001,010,0002,523,136
25May 17, 2021 19:445,3752,038,335,87116,245,000955,0002,269,184
26May 17, 2021 19:445,3761,403,605,38216,191,0001,011,0002,265,088
27May 17, 2021 19:445,3812,631,873,11715,306,0001,913,0002,527,232
28May 17, 2021 19:465,536529,735,36017,715,41402,277,376
29May 17, 2021 19:465,5441,866,158,41417,740,76702,277,376
30May 17, 2021 19:445,5451,146,000,22117,744,53402,277,376
31May 17, 2021 19:445,547887,088,53317,751,71702,281,472
32May 17, 2021 19:445,549637,895,88117,756,31902,281,472
33May 17, 2021 19:445,556795,837,16317,778,61702,277,376
34May 17, 2021 19:445,561946,319,75717,793,63502,277,376
35May 17, 2021 19:465,5641,033,183,21617,804,97302,277,376
36May 17, 2021 19:445,571811,995,88317,827,95402,277,376