Rosetta Problems
← aoj に戻る
Lowest Common Ancestor
https://onlinejudge.u-aizu.ac.jp/problems/GRL_5_C
対応するローカル問題
最小共通祖先 (LCA)