Rosetta Problems

Tree and LCS

https://atcoder.jp/contests/arc156/tasks/arc156_c