Rosetta Problems
← atcoder に戻る
Union Sets
https://atcoder.jp/contests/code-thanks-festival-2017/tasks/code_thanks_festival_2017_h