![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
次小生成树
文章平均质量分 82
Grit_ICPC
Dielts
展开
-
POJ 1679 The Unique MST (次小生成树)
#include#include#include#define L 110#define inf 0x3f3f3f3fusing namespace std;int dis[110],pre[110],Map[110][110],Ma[110][110];bool use[110][110],vis[110];int n;int prim(){ int i,j;原创 2015-09-25 20:40:53 · 533 阅读 · 0 评论 -
Hdoj 4081 Qin Shi Huang's National Road System(次小生成树)
Qin Shi Huang's National Road SystemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5458 Accepted Submission(s): 1915Problem Description原创 2015-09-28 23:18:04 · 455 阅读 · 0 评论