![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树的直径
文章平均质量分 88
路兔兔123
博客已搬迁到http://www.cnblogs.com/cniwoq/ 今后不会再访问csdn
展开
-
Light OJ 1049 Farthest Nodes in a Tree【树的直径】
Farthest Nodes in a TreeTime Limit: 2000MSMemory Limit: 32768KB64bit IO Format: %lld & %lluDescriptionGiven a tree (a connected graph with no cycles), you have to fin原创 2016-08-02 11:46:16 · 203 阅读 · 0 评论 -
POJ Problem 1985 Cow Marathon 【树的直径】
Cow MarathonTime Limit: 2000MS Memory Limit: 30000KTotal Submissions: 4882 Accepted: 2380Case Time Limit: 1000MSDescriptionAfter hearing about the epidemic原创 2016-08-02 12:05:17 · 460 阅读 · 0 评论 -
POJ Problem 2631 Roads in the North【树的直径】
Roads in the NorthTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2538 Accepted: 1248DescriptionBuilding and maintaining roads among communities in the原创 2016-08-02 15:13:19 · 219 阅读 · 0 评论 -
POJ Problem 1383 Labyrinth【树的直径】
LabyrinthTime Limit: 2000MS Memory Limit: 32768KTotal Submissions: 4196 Accepted: 1572DescriptionThe northern part of the Pyramid contains a very large and compli原创 2016-08-02 16:02:25 · 352 阅读 · 0 评论 -
HDU Problem 4514 湫湫系列故事——设计风景线 【并查集+树的直径】
湫湫系列故事——设计风景线Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 4115 Accepted Submission(s): 725Problem Description 随着杭州西湖的知名度的原创 2016-08-02 17:21:46 · 331 阅读 · 0 评论 -
HDU Problem 2196 Computer【树的直径】
ComputerTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5638 Accepted Submission(s): 2818Problem DescriptionA school bought t原创 2016-08-02 19:20:53 · 220 阅读 · 0 评论