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 23, 2021 22:55Yuriy LyfenkoYuriy LyfenkoScore: 5,092Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 22:555,05645,493,04414,156,0002,022,0002,265,088
2May 23, 2021 22:555,05846,125,74115,175,0001,011,0002,265,088
3May 23, 2021 22:555,07646,035,08415,227,0001,015,0002,265,088
4May 23, 2021 22:555,08343,616,70814,233,0002,033,0002,392,064
5May 23, 2021 22:555,08740,548,78214,244,0002,034,0002,383,872
6May 23, 2021 22:555,09139,602,78515,274,0001,018,0002,392,064
7May 23, 2021 22:555,09248,581,96914,257,0002,036,0002,265,088
8May 23, 2021 22:555,09538,659,62415,286,0001,019,0002,527,232
9May 23, 2021 22:555,11248,368,52715,336,0001,022,0002,392,064
10May 23, 2021 22:555,25579,743,21616,817,16902,281,472
11May 23, 2021 22:555,32375,638,59817,034,49502,285,568
12May 23, 2021 22:555,34289,317,28217,093,60302,277,376