modify segmenttree.cpp and lca.cpp (add lca by rmq)