【The North American Invitational Programming Contest 2016 】I、Tourists

6000ms 262144K In Tree City, there are nnn tourist attractions uniquely labeled 111 to nnn. The attractions are connected by a set of n−1n - 1n−1 bi...

2018-10-02 15:00:36

阅读数:39

评论数:0

[HDU 2586] How far away ?(利用LCA求树上任意两点的最短距离)

How far away ? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 23628 Accepted Submissio...

2018-08-24 16:12:08

阅读数:59

评论数:0

POJ1330 Nearest Common Ancestors(DFS+步进法)

Nearest Common Ancestors Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 34430 Accepted: 17473 Description A rooted tree i...

2018-08-24 14:41:20

阅读数:28

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭