Rosetta Problems

Tree Patrolling

https://atcoder.jp/contests/abc207/tasks/abc207_f