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 16, 2021 19:12Yuriy LyfenkoYuriy LyfenkoScore: 5,438Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 19:115,3931,822,996,16214,380,0002,876,0002,265,088
2May 16, 2021 19:125,3954,080,559,07516,248,0001,015,0002,523,136
3May 16, 2021 19:115,3984,765,705,75215,353,0001,919,0002,519,040
4May 16, 2021 19:115,4064,470,736,52416,218,0001,081,0002,269,184
5May 16, 2021 19:115,4062,518,258,95415,376,0001,922,0002,523,136
6May 16, 2021 19:115,4134,046,327,15515,283,0002,037,0002,387,968
7May 16, 2021 19:115,4134,190,435,13716,303,0001,018,0002,523,136
8May 16, 2021 19:125,4163,491,435,59914,444,0002,888,0002,523,136
9May 16, 2021 19:115,4173,346,575,83814,445,0002,889,0002,510,848
10May 16, 2021 19:125,4182,502,084,20716,375,000963,0002,265,088
11May 16, 2021 19:115,4193,202,779,15015,415,0001,926,0002,523,136
12May 16, 2021 19:115,4191,589,367,32214,282,0003,060,0002,265,088
13May 16, 2021 19:125,4222,976,034,88116,386,000963,0002,260,992
14May 16, 2021 19:115,4255,045,769,79514,467,0002,893,0002,519,040
15May 16, 2021 19:115,4294,580,658,96616,409,000965,0002,523,136
16May 16, 2021 19:125,4301,021,697,24016,353,0001,022,0002,387,968
17May 16, 2021 19:125,4336,154,939,96717,385,00002,519,040
18May 16, 2021 19:115,4341,296,618,67616,424,000966,0002,519,040
19May 16, 2021 19:115,4385,213,396,11615,467,0001,933,0002,260,992
20May 16, 2021 19:125,4386,366,610,14415,469,0001,933,0002,519,040
21May 16, 2021 19:115,4402,685,066,62516,442,000967,0002,519,040
22May 16, 2021 19:125,4402,089,040,53914,508,0002,901,0002,527,232
23May 16, 2021 19:115,4411,688,948,38316,388,0001,024,0002,523,136
24May 16, 2021 19:115,4421,484,359,72815,366,0002,048,0002,379,776
25May 16, 2021 19:115,4474,592,148,50115,495,0001,936,0002,519,040
26May 16, 2021 19:125,4494,365,395,11816,470,000968,0002,260,992
27May 16, 2021 19:115,4965,466,519,05616,611,000977,0002,260,992
28May 16, 2021 19:115,6172,926,416,70217,972,91102,277,376
29May 16, 2021 19:115,6311,633,059,76318,020,02702,277,376
30May 16, 2021 19:115,6352,018,636,04418,033,14002,285,568
31May 16, 2021 19:125,6353,380,878,36518,031,36602,281,472
32May 16, 2021 19:125,6422,465,115,49818,055,27402,281,472
33May 16, 2021 19:115,6443,867,154,75418,059,39502,277,376
34May 16, 2021 19:115,6523,089,865,47818,087,58902,281,472
35May 16, 2021 19:125,6683,553,643,11218,138,17302,289,664
36May 16, 2021 19:115,7652,292,994,38818,448,65902,281,472