
树的直径
AC前的蛋碎
........
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Farthest Nodes in a Tree
Description Given a tree (a connected graph with no cycles), you have to find the farthest nodes in the tree. The edges of the tree are weighted and undirected. That means you have to find two node原创 2016-08-02 18:53:00 · 223 阅读 · 0 评论 -
Cow Marathon
Cow Marathon Time Limit: 2000MS Memory Limit: 30000K Total Submissions: 4948 Accepted: 2407 Case Time Limit: 1000MS Description After hearing about the epidemi原创 2016-08-02 20:11:24 · 233 阅读 · 0 评论 -
Roads in the North
Roads in the North Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Description Building and maintaining roads among communities in the far North is an expensi原创 2016-08-02 21:38:19 · 248 阅读 · 0 评论