Rosetta Problems

树的统计

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