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 18, 2021 13:12Yuriy LyfenkoYuriy LyfenkoScore: 5,454Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:135,3971,254,175,99715,351,0001,918,0002,392,064
2May 18, 2021 13:135,4072,673,935,90815,380,0001,922,0002,260,992
3May 18, 2021 13:135,4082,938,206,70115,383,0001,922,0002,387,968
4May 18, 2021 13:135,419764,606,54813,261,0004,080,0002,392,064
5May 18, 2021 13:125,430860,887,18415,331,0002,044,0002,265,088
6May 18, 2021 13:125,431449,750,30015,448,0001,931,0002,519,040
7May 18, 2021 13:135,437384,639,47615,464,0001,933,0002,523,136
8May 18, 2021 13:125,4372,924,628,88916,431,000966,0002,260,992
9May 18, 2021 13:125,4462,614,013,40516,458,000968,0002,527,232
10May 18, 2021 13:125,4481,153,056,73215,498,0001,937,0002,265,088
11May 18, 2021 13:125,4481,880,127,42015,496,0001,937,0002,392,064
12May 18, 2021 13:125,4531,530,756,81515,510,0001,938,0002,519,040
13May 18, 2021 13:125,454912,887,24115,515,0001,939,0002,519,040
14May 18, 2021 13:125,4551,802,700,98916,431,0001,026,0002,523,136
15May 18, 2021 13:135,4552,921,823,28016,488,000969,0002,523,136
16May 18, 2021 13:135,459839,598,11217,470,00002,400,256
17May 18, 2021 13:135,4632,400,633,15515,541,0001,942,0002,519,040
18May 18, 2021 13:135,4632,359,626,34017,482,00002,523,136
19May 18, 2021 13:125,5472,545,177,41817,749,59802,277,376
20May 18, 2021 13:135,5501,517,791,96017,761,55502,273,280
21May 18, 2021 13:125,562386,874,46017,797,23302,277,376
22May 18, 2021 13:135,5661,144,286,21217,812,27102,277,376
23May 18, 2021 13:135,5742,636,012,81217,838,37102,277,376
24May 18, 2021 13:125,6011,361,005,36717,924,74602,273,280