Rosetta Problems

Fast Lowest Common Ancestor

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