摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2586How far away ?DescriptionThere are n houses in the village and some bidirectional roads connecting t... 阅读全文
posted @ 2015-11-24 21:11 GadyPu 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=1330Nearest Common AncestorsDescriptionA rooted tree is a well-known data structure in computer science and engineering.... 阅读全文
posted @ 2015-11-24 21:07 GadyPu 阅读(128) 评论(0) 推荐(0) 编辑