Rosetta Problems
← atcoder に戻る
Ribbons on Tree
https://atcoder.jp/contests/arc101/tasks/arc101_c