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 13:48Yuriy LyfenkoYuriy LyfenkoScore: 5,581Success
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 13:445,42335,448,30816,334,0001,020,0002,383,872
2May 16, 2021 13:475,42335,259,77717,353,00002,383,872
3May 16, 2021 13:445,42841,654,06616,348,0001,021,0002,523,136
4May 16, 2021 13:475,43041,938,16416,355,0001,022,0002,396,160
5May 16, 2021 13:445,43339,360,55815,339,0002,045,0002,519,040
6May 16, 2021 13:475,44445,933,24216,398,0001,024,0002,519,040
7May 16, 2021 13:475,44635,513,88416,402,0001,025,0002,519,040
8May 16, 2021 13:475,44736,915,39817,431,00002,519,040
9May 16, 2021 13:445,45134,405,51817,444,00002,387,968
10May 16, 2021 13:445,45145,654,81215,391,0002,052,0002,519,040
11May 16, 2021 13:445,45242,791,37215,395,0002,052,0002,519,040
12May 16, 2021 13:445,45343,028,70016,425,0001,026,0002,392,064
13May 16, 2021 13:475,45536,926,03316,429,0001,026,0002,260,992
14May 16, 2021 13:445,45840,602,53517,467,00002,383,872
15May 16, 2021 13:475,46138,259,13615,420,0002,056,0002,519,040
16May 16, 2021 13:475,46145,001,97816,447,0001,027,0002,519,040
17May 16, 2021 13:445,46339,659,87917,480,00002,396,160
18May 16, 2021 13:475,46739,779,53217,494,00002,387,968
19May 16, 2021 13:485,58147,829,82016,868,000992,0002,519,040
20May 16, 2021 13:485,58545,970,38214,893,0002,978,0002,519,040
21May 16, 2021 13:485,58838,871,49817,881,00002,519,040
22May 16, 2021 13:485,59236,645,68115,907,0001,988,0002,519,040
23May 16, 2021 13:485,59351,220,55016,844,0001,052,0002,519,040
24May 16, 2021 13:485,60543,920,30316,941,000996,0002,260,992
25May 16, 2021 13:485,60647,479,46916,943,000996,0002,260,992
26May 16, 2021 13:485,61043,450,71514,961,0002,992,0002,519,040
27May 16, 2021 13:485,61341,290,09415,965,0001,995,0002,379,776
28May 16, 2021 13:445,70464,478,56518,251,41302,273,280
29May 16, 2021 13:475,71589,667,68218,288,80402,277,376
30May 16, 2021 13:475,71888,642,65718,297,91802,281,472
31May 16, 2021 13:445,72356,233,30118,314,42902,277,376
32May 16, 2021 13:475,73073,909,47118,336,52302,277,376
33May 16, 2021 13:445,73785,941,35418,359,35802,277,376
34May 16, 2021 13:485,97578,279,53119,120,46402,277,376
35May 16, 2021 13:486,00296,541,48819,205,98102,277,376
36May 16, 2021 13:486,030100,196,01819,295,88202,285,568