![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
最短路径
该怎么和你说呢
好好的做自己应该做的事情
展开
-
HDU 1874 畅通工程续
畅通工程续 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13836 Accepted Submission(s): 4695Problem Description某省自从实行了很多年的畅通工程计划后,终于修建了很原创 2012-08-13 14:07:15 · 629 阅读 · 0 评论 -
HDU 2544 最短路
最短路Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15266 Accepted Submission(s): 6483Problem Description 在每年的校赛里,所有进入决赛的原创 2012-08-21 18:23:00 · 826 阅读 · 0 评论 -
HDU 1142 A Walk Through the Forest
A Walk Through the ForestTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3436 Accepted Submission(s): 1261Problem Description原创 2012-08-21 18:44:49 · 423 阅读 · 0 评论 -
HDU 1142 A Walk Through the Forest
A Walk Through the ForestTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3420 Accepted Submission(s): 1254Problem Description原创 2012-08-21 14:23:06 · 544 阅读 · 0 评论 -
HDU 3790 最短路径问题
#include#include#include#define NIL 100000struct Node{ int d; //记录最短路径长度 int m; //记录最小花费 int pre; //记录前驱 int flag; //标记所属集合}node[1001];/*初始化操作,把源点初始化为0,其他正无穷@param n 结点个数@param s 源点*/原创 2012-12-01 00:19:52 · 1077 阅读 · 0 评论