Rosetta Problems

Free Contest 106 - TREE

https://oj.vnoi.info/problem/fc106_tree