Rosetta Problems

Coloring Tree

https://atcoder.jp/contests/ttpc2024_2/tasks/ttpc2024_2_g