Update graph/lca.cpp