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 listJun 6, 2021 03:28evgenikwtevgenikwtScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 03:285,26240,595,93515,848,000990,0002,527,232
2Jun 6, 2021 03:285,26938,168,29115,870,000991,0002,265,088
3Jun 6, 2021 03:285,27036,100,62215,873,000992,0002,387,968
4Jun 6, 2021 03:285,27244,137,51215,877,000992,0002,387,968
5Jun 6, 2021 03:285,27449,070,90615,885,000992,0002,269,184
6Jun 6, 2021 03:285,27543,961,62015,888,000993,0002,387,968
7Jun 6, 2021 03:285,27645,415,63215,891,000993,0002,265,088
8Jun 6, 2021 03:285,28147,232,32615,906,000994,0002,387,968
9Jun 6, 2021 03:285,28233,954,28216,901,00002,461,696
10Jun 6, 2021 03:285,50867,631,56117,625,86102,281,472
11Jun 6, 2021 03:285,63185,092,81118,020,64402,293,760
12Jun 6, 2021 03:285,70173,689,72018,243,34502,285,568