Rosetta Problems

Free Contest 124 - NUMTREE

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