文章分类 -  最短路

摘要:Choose the best route Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11655 Accepted Submission(s 阅读全文
posted @ 2016-02-25 13:05 喷水小火龙 阅读(113) 评论(0) 推荐(0)
摘要:模板。 dijkstra。邻接矩阵+函数。 1 #include <iostream> 2 #include <cstring> 3 #include <cstdio> 4 using namespace std; 5 6 int n, m, a, b, c; 7 8 #define maxn 11 阅读全文
posted @ 2016-02-24 16:45 喷水小火龙 阅读(102) 评论(0) 推荐(0)