上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页

2012年7月21日

【解题报告】【HDOJ2544】【Bellman-Ford最短路】最短路

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2544 1 #include<stdio.h> 2 #include<string.h> 3 #define INF 0x3f3f3f3f 4 struct node{ 5 int u; 6 int v; 7 int weight; 8 }; 9 struct node map[10001];10 int record[101];11 int n,m;12 13 void Bellman_init()14 {15 int i;16 for(i=0;i<2*m;... 阅读全文

posted @ 2012-07-21 18:27 coding封神 阅读(112) 评论(0) 推荐(0)

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页

导航