Codeforces Round #303 (Div. 2) E. Paths and Trees(贪心+最短路)

NoSuchKey