Rosetta Problems

Transit Tree Path

https://atcoder.jp/contests/abc070/tasks/abc070_d