摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5266 题目就是让你求LCA,模版题。注意dfs会栈溢出,所以要扩栈,或者用bfs写。 阅读全文
posted @ 2016-05-11 16:23 Recoder 阅读(166) 评论(0) 推荐(0) 编辑