Codeforces 1304 D. Shortest and Longest LIS(构造+贪心)

NoSuchKey