Rosetta Problems
← atcoder に戻る
だいたい最小全域木
https://atcoder.jp/contests/arc021/tasks/arc021_4