![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树的直径
BoilTask
www.BoilTask.com
展开
-
【POJ】[1985]Cow Marathon
After hearing about the epidemic of obesity in the USA, Farmer John wants his cows to get more exercise原创 2016-08-02 17:51:52 · 551 阅读 · 0 评论 -
【POJ】[2631]Roads in the North
Roads in the NorthTime Limit: 1000MS Memory Limit: 65536KDescriptionBuilding and maintaining roads among communities in the far North is an expensive business. With this in原创 2016-08-03 08:59:06 · 307 阅读 · 0 评论 -
【POJ】[1383]Labyrinth
先找出任意一点的最远点u,再找出u的最远点v,u-v距离即使最远距离,这题同样按照这种思路进行搜索原创 2016-08-03 09:39:09 · 357 阅读 · 0 评论 -
【杭电】[2196]Computer
ComputerTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionA school bought the first computer some time ago(so this computer's id is 1). Duri原创 2016-08-03 10:30:02 · 394 阅读 · 0 评论