摘要: Highways Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 28368 Accepted: 12924 Description The island nation of Flatopia is... 阅读全文
posted @ 2016-08-02 21:56 弃用博客 阅读(115) 评论(0) 推荐(0) 编辑
摘要: #include#include#include using namespace std;const int maxn = 2000+10;char map[maxn][10];int f[maxn];int n,cnt;struct edge{ int u,v; int w;}e[... 阅读全文
posted @ 2016-08-02 20:28 弃用博客 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Truck History Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 24751 Accepted: 9647 Description Advanced Cargo Movement, Ltd... 阅读全文
posted @ 2016-08-02 20:23 弃用博客 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Freckles Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8309 Accepted: 3952 Description In an episode of the Dick Van Dyke... 阅读全文
posted @ 2016-08-02 18:15 弃用博客 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 都是套路,换题不换意 Agri-Net Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 51655 Accepted: 21544 Description Farmer John has bee... 阅读全文
posted @ 2016-08-02 17:39 弃用博客 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Agri-Net Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 51653 Accepted: 21544 Description Farmer John has been elected may... 阅读全文
posted @ 2016-08-02 17:28 弃用博客 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Constructing Roads Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 22440 Accepted: 9588 Description There are N villages, w... 阅读全文
posted @ 2016-08-02 17:10 弃用博客 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Prim算法 1.概览 普里姆算法(Prim算法),图论中的一种算法,可在加权连通图里搜索最小生成树。意即由此算法搜索到的边子集所构成的树中,不但包括了连通图里的所有顶点(英语:Vertex (graph theory)),且其所有边的权值之和亦为最小。该算法于1930年由捷克数学家沃伊捷赫... 阅读全文
posted @ 2016-08-02 11:22 弃用博客 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Children of the Candy Corn Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 12755 Accepted: 5481 Description The cornfield m... 阅读全文
posted @ 2016-08-02 10:24 弃用博客 阅读(114) 评论(0) 推荐(0) 编辑