Rosetta Problems
← atcoder に戻る
Tree Patrolling
https://atcoder.jp/contests/abc207/tasks/abc207_f