POJ 1330 Nearest Common Ancestors ST表LCA