Rosetta Problems
← atcoder に戻る
私、木になります (I become a tree)
https://atcoder.jp/contests/tkppc/tasks/tkppc2015_h