摘要: 375. Query on a treeYou are given a tree (an acyclic undirected connected graph) withNnodes, and edges numbered 1, 2, 3...N-1.We will ask you to perfr... 阅读全文
posted @ 2014-11-09 22:40 哈特13 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Aragorn's StoryTime Limit: 10000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3544Accepted Submission(s): 995Pro... 阅读全文
posted @ 2014-11-09 00:59 哈特13 阅读(255) 评论(0) 推荐(0) 编辑