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 30, 2021 04:43Yuriy LyfenkoYuriy LyfenkoScore: 5,058Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 04:465,01444,836,95114,041,0002,005,0002,265,088
2May 30, 2021 04:465,01546,533,27314,042,0002,006,0002,383,872
3May 30, 2021 04:435,01635,303,72714,046,0002,006,0002,383,872
4May 30, 2021 04:465,02333,519,84814,064,0002,009,0002,265,088
5May 30, 2021 04:435,02433,604,12714,069,0002,009,0002,392,064
6May 30, 2021 04:465,02644,742,34614,074,0002,010,0002,387,968
7May 30, 2021 04:435,02733,910,08014,076,0002,010,0002,379,776
8May 30, 2021 04:465,03233,511,21315,095,0001,006,0002,375,680
9May 30, 2021 04:435,03340,142,57514,093,0002,013,0002,265,088
10May 30, 2021 04:435,03836,479,96114,108,0002,015,0002,265,088
11May 30, 2021 04:435,03943,661,64614,110,0002,015,0002,265,088
12May 30, 2021 04:465,04635,757,37815,138,0001,009,0002,265,088
13May 30, 2021 04:465,05846,788,81915,173,0001,011,0002,265,088
14May 30, 2021 04:465,06133,734,87214,170,0002,024,0002,265,088
15May 30, 2021 04:435,06250,175,45615,185,0001,012,0002,387,968
16May 30, 2021 04:465,06931,995,51515,208,0001,013,0002,265,088
17May 30, 2021 04:435,07033,542,48614,197,0002,028,0002,379,776
18May 30, 2021 04:435,08333,768,00615,248,0001,016,0002,265,088
19May 30, 2021 04:465,21267,374,29216,679,43402,265,088
20May 30, 2021 04:465,21369,619,35116,680,34102,265,088
21May 30, 2021 04:435,21987,838,87416,700,87902,277,376
22May 30, 2021 04:465,23792,015,28716,758,45302,240,512
23May 30, 2021 04:435,26390,798,50316,840,95102,260,992
24May 30, 2021 04:435,26597,574,79516,849,36002,265,088