Codeforces Round #555 (Div. 3) C2. Increasing Subsequence (hard version)

NoSuchKey