Rosetta Problems

Sum of Tree Distance

https://atcoder.jp/contests/abc359/tasks/abc359_g