Codeforces Round #597 (Div. 2) D. Shichikuji and Power Grid(最小生成树)

NoSuchKey