
树的直径
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 · 564 阅读 · 0 评论 -
【POJ】[2631]Roads in the North
Roads in the North Time Limit: 1000MS Memory Limit: 65536K Description Building and maintaining roads among communities in the far North is an expensive business. With this in原创 2016-08-03 08:59:06 · 320 阅读 · 0 评论 -
【POJ】[1383]Labyrinth
先找出任意一点的最远点u,再找出u的最远点v,u-v距离即使最远距离,这题同样按照这种思路进行搜索原创 2016-08-03 09:39:09 · 370 阅读 · 0 评论 -
【杭电】[2196]Computer
Computer Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description A school bought the first computer some time ago(so this computer's id is 1). Duri原创 2016-08-03 10:30:02 · 413 阅读 · 0 评论