Rosetta Problems

树上移动

https://www.acwing.com/problem/content/6322