Rosetta Problems

Circumference of a Tree

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