Rosetta Problems
← atcoder に戻る
Lights Out on Tree
https://atcoder.jp/contests/arc148/tasks/arc148_c