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 11, 2021 17:42Yuriy LyfenkoYuriy LyfenkoScore: 5,480Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:425,43536,562,31717,392,00002,519,040
2May 11, 2021 17:415,43848,879,80914,332,0003,071,0002,392,064
3May 11, 2021 17:415,44038,635,83817,408,00002,519,040
4May 11, 2021 17:415,44440,046,66916,398,0001,024,0002,387,968
5May 11, 2021 17:425,44841,917,66417,433,00002,519,040
6May 11, 2021 17:415,45545,122,13217,456,00002,523,136
7May 11, 2021 17:425,45634,373,62914,378,0003,081,0002,519,040
8May 11, 2021 17:425,46238,498,35716,449,0001,028,0002,392,064
9May 11, 2021 17:415,46340,558,44916,452,0001,028,0002,387,968
10May 11, 2021 17:425,46539,540,57417,489,00002,510,848
11May 11, 2021 17:425,47039,328,83016,474,0001,029,0002,387,968
12May 11, 2021 17:425,48039,515,83417,537,00002,519,040
13May 11, 2021 17:415,48042,347,00416,506,0001,031,0002,519,040
14May 11, 2021 17:425,48139,079,28816,508,0001,031,0002,387,968
15May 11, 2021 17:415,48443,894,79516,517,0001,032,0002,519,040
16May 11, 2021 17:415,48840,921,64516,529,0001,033,0002,465,792
17May 11, 2021 17:415,54044,128,02017,727,00002,392,064
18May 11, 2021 17:425,57444,971,13716,846,000990,0002,400,256
19May 11, 2021 17:415,71487,959,88818,285,81102,281,472
20May 11, 2021 17:415,71683,451,81318,290,91102,281,472
21May 11, 2021 17:425,73888,287,32018,362,63902,277,376
22May 11, 2021 17:415,74272,749,28318,374,57102,289,664
23May 11, 2021 17:425,74688,193,18118,386,19602,281,472
24May 11, 2021 17:425,75880,922,80318,425,08802,289,664