摘要:
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2586How far away ?DescriptionThere are n houses in the village and some bidirectional roads connecting t... 阅读全文
摘要:
题目连接http://poj.org/problem?id=1330Nearest Common AncestorsDescriptionA rooted tree is a well-known data structure in computer science and engineering.... 阅读全文