Rosetta Problems

Tree coloring

https://marisaoj.com/problem/230