摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2586无根树转有根树,基于rmq算法计算lca,模板题#include #include #include #include #include using namespace std ;const int MAX_... 阅读全文