Rosetta Problems

Free Contest 118 - TREE

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