Rosetta Problems
← atcoder に戻る
Chain Graph Pair
https://atcoder.jp/contests/utpc2021/tasks/utpc2021_d