Rosetta Problems

Perfect Matching on a Tree

https://atcoder.jp/contests/abc362/tasks/abc362_f