![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树的直径
Jogging_Clown
丢掉盔甲,我依然是骄傲帅气的骑士。
展开
-
HDOJ 题目4607 Park Visit(树的直径)
Park VisitTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2517 Accepted Submission(s): 1134Problem DescriptionClaire and her litt原创 2015-02-11 00:16:24 · 502 阅读 · 0 评论 -
HDOJ 题目4612Warm up(双联通求桥数,缩点求树的直径)
Warm upTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 4026 Accepted Submission(s): 911Problem Description N planets are connec原创 2015-02-12 16:58:59 · 466 阅读 · 0 评论 -
HDOJ题目2196 Computer(树的直径)
ComputerTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4251 Accepted Submission(s): 2120Problem DescriptionA school bought the f原创 2015-07-27 09:18:35 · 699 阅读 · 0 评论 -
HDOJ 题目4123 Bob’s Race(树的直径+RMQ优化)
Bob’s RaceTime Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2753 Accepted Submission(s): 888Problem DescriptionBob wants to hol原创 2015-07-28 18:38:38 · 758 阅读 · 0 评论 -
HDOJ 题目4460 Friend Chains(树的最长链)
Friend ChainsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4496 Accepted Submission(s): 1455Problem DescriptionFor a group原创 2015-11-05 11:39:14 · 505 阅读 · 0 评论