Codeforces 867 D. Buy Low Sell High (贪心)

NoSuchKey