Codeforces 980 并查集/模拟贪心最小字典序

NoSuchKey