Rosetta Problems

Integers on a Tree

https://atcoder.jp/contests/arc063/tasks/arc063_c