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 24, 2021 23:33Egor SergeevEgor SergeevScore: 5,524Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 23:335,48039,428,29416,505,0001,031,0002,269,184
2May 25, 2021 22:175,49143,292,30916,539,0001,033,0002,289,664
3May 24, 2021 23:335,49339,796,58616,545,0001,034,0002,273,280
4May 25, 2021 22:175,49841,215,45016,615,000977,0002,273,280
5May 25, 2021 22:175,50939,063,83416,593,0001,037,0002,281,472
6May 24, 2021 23:335,51044,127,72316,595,0001,037,0002,269,184
7May 25, 2021 22:175,51147,158,83416,599,0001,037,0002,277,376
8May 25, 2021 22:175,51232,090,51916,602,0001,037,0002,289,664
9May 24, 2021 23:335,52035,004,12317,663,00002,289,664
10May 25, 2021 22:175,52046,814,02016,625,0001,039,0002,289,664
11May 24, 2021 23:335,52342,988,89917,672,00002,289,664
12May 25, 2021 22:175,52435,039,06516,639,0001,039,0002,281,472
13May 24, 2021 23:335,52447,021,78916,639,0001,039,0002,277,376
14May 25, 2021 22:175,53246,468,13616,662,0001,041,0002,273,280
15May 25, 2021 22:175,53341,876,07816,664,0001,041,0002,396,160
16May 24, 2021 23:335,53641,761,28317,714,00002,269,184
17May 24, 2021 23:335,57734,748,62016,856,000991,0002,359,296
18May 24, 2021 23:335,58943,548,81415,897,0001,987,0002,281,472
19May 25, 2021 22:175,61176,350,81217,954,63602,170,880
20May 25, 2021 22:175,64260,095,26118,054,86802,293,760
21May 25, 2021 22:175,65543,995,83218,096,73302,170,880
22May 24, 2021 23:335,65759,658,62618,102,03602,297,856
23May 24, 2021 23:335,66957,087,58818,140,65302,293,760
24May 24, 2021 23:335,703103,390,84118,250,79702,297,856