Rosetta Problems
← marisaoj に戻る
Tree diameter
https://marisaoj.com/problem/127