Codeforces Round #582 (Div. 3) G. Path Queries(最小生成树+思维)

NoSuchKey