Rosetta Problems

Lowest Common Ancestor

https://judge.yosupo.jp/problem/lca