codeforces 1003 E. Tree Constructing(构造)

NoSuchKey