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 15, 2021 20:45Yuriy LyfenkoYuriy LyfenkoScore: 5,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 20:455,40835,316,24216,289,0001,018,0002,523,136
2May 15, 2021 20:455,41737,370,24615,294,0002,039,0002,523,136
3May 15, 2021 20:455,41838,312,10917,339,00002,265,088
4May 15, 2021 20:455,41839,193,88616,317,0001,019,0002,260,992
5May 15, 2021 20:455,43440,282,77517,390,00002,265,088
6May 15, 2021 20:455,43644,171,02017,394,00002,392,064
7May 15, 2021 20:455,43751,679,71016,375,0001,023,0002,260,992
8May 15, 2021 20:455,44244,127,05116,389,0001,024,0002,260,992
9May 15, 2021 20:455,44346,261,72416,395,0001,024,0002,523,136
10May 15, 2021 20:455,44346,197,50416,393,0001,024,0002,392,064
11May 15, 2021 20:455,44339,472,24617,417,00002,387,968
12May 15, 2021 20:455,44447,427,38415,373,0002,049,0002,265,088
13May 15, 2021 20:455,44444,288,24017,420,00002,523,136
14May 15, 2021 20:455,44837,826,82916,407,0001,025,0002,506,752
15May 15, 2021 20:455,44940,891,98015,386,0002,051,0002,396,160
16May 15, 2021 20:455,45149,986,83015,504,0001,938,0002,260,992
17May 15, 2021 20:455,45531,970,80617,455,00002,523,136
18May 15, 2021 20:455,45539,880,37716,431,0001,026,0002,400,256
19May 15, 2021 20:455,45844,553,07616,440,0001,027,0002,523,136
20May 15, 2021 20:455,46039,631,69417,472,00002,523,136
21May 15, 2021 20:455,46035,896,87616,446,0001,027,0002,260,992
22May 15, 2021 20:455,46541,840,98017,489,00002,392,064
23May 15, 2021 20:455,46838,443,13917,498,00002,260,992
24May 15, 2021 20:455,47140,119,40917,508,00002,392,064
25May 15, 2021 20:455,47342,098,01315,455,0002,060,0002,527,232
26May 15, 2021 20:455,47533,350,51617,521,00002,523,136
27May 15, 2021 20:455,47839,488,06916,499,0001,031,0002,260,992
28May 15, 2021 20:455,60759,609,82717,941,35002,285,568
29May 15, 2021 20:455,62674,733,25218,003,48802,281,472
30May 15, 2021 20:455,63570,927,54318,030,87102,277,376
31May 15, 2021 20:455,65076,239,74518,080,92902,281,472
32May 15, 2021 20:455,66478,137,46118,126,31802,273,280
33May 15, 2021 20:455,66485,822,45218,123,89302,273,280
34May 15, 2021 20:455,69387,199,29718,217,20602,277,376
35May 15, 2021 20:455,696104,125,22218,225,66202,281,472
36May 15, 2021 20:455,69977,743,93718,237,81602,269,184