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:37Yuriy LyfenkoYuriy LyfenkoScore: 5,417Success
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:375,3631,364,878,25517,160,00002,265,088
2May 18, 2021 13:375,3731,634,792,02715,285,0001,910,0002,269,184
3May 18, 2021 13:375,3932,767,010,07715,340,0001,917,0002,400,256
4May 18, 2021 13:375,3941,666,879,87314,384,0002,876,0002,392,064
5May 18, 2021 13:375,3951,982,468,41815,345,0001,918,0002,392,064
6May 18, 2021 13:375,4111,898,302,18115,391,0001,923,0002,260,992
7May 18, 2021 13:375,4172,532,412,24616,372,000963,0002,265,088
8May 18, 2021 13:375,4212,112,203,38815,420,0001,927,0002,527,232
9May 18, 2021 13:375,4412,371,667,61316,443,000967,0002,265,088
10May 18, 2021 13:375,5591,819,011,23417,788,10602,277,376
11May 18, 2021 13:375,5721,073,649,13617,829,66802,281,472
12May 18, 2021 13:375,593835,552,50017,896,84902,273,280