Rosetta Problems

Mex Game on Tree

https://atcoder.jp/contests/arc162/tasks/arc162_c