Rosetta Problems

Shrink the Tree

https://atcoder.jp/contests/wtf22-day1-open/tasks/wtf22_day1_c