Codeforces Round # 555 (Div. 3) C2. Increasing subsequence (complicated version) (贪心)

NoSuchKey