Rosetta Problems

数字对生成树

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