摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2586 题意:求最近祖先节点的权值和 思路:LCA Tarjan算法 阅读全文
posted @ 2016-11-14 20:43 一个_小菜鸟 阅读(228) 评论(0) 推荐(0) 编辑