Rosetta Problems

Lights Out on Tree

https://atcoder.jp/contests/arc148/tasks/arc148_c