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 17, 2021 17:51Yuriy LyfenkoYuriy LyfenkoScore: 5,389Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 17:515,355417,289,65416,185,000952,0002,265,088
2May 17, 2021 17:515,358989,100,08515,241,0001,905,0002,265,088
3May 17, 2021 17:515,3611,945,313,22115,137,0002,018,0002,260,992
4May 17, 2021 17:515,3631,964,021,88617,163,00002,265,088
5May 17, 2021 17:515,3661,264,622,68215,150,0002,020,0002,523,136
6May 17, 2021 17:515,3701,715,111,58716,174,0001,010,0002,527,232
7May 17, 2021 17:515,3891,791,888,05815,217,0002,029,0002,265,088
8May 17, 2021 17:515,392310,338,26515,337,0001,917,0002,269,184
9May 17, 2021 17:515,4001,407,818,30117,280,00002,265,088
10May 17, 2021 17:515,553605,799,98417,770,66002,281,472
11May 17, 2021 17:515,5661,758,403,24917,810,15402,277,376
12May 17, 2021 17:515,5841,381,150,53817,868,69902,277,376