Rosetta Problems

Intervals on Tree

https://atcoder.jp/contests/abc173/tasks/abc173_f