Rosetta Problems

Height of a Tree

https://onlinejudge.u-aizu.ac.jp/problems/GRL_5_B