2015年8月19日

最短路模板集.

摘要: 最短路dijkstra算法 邻接矩阵模板 复杂度 V^2#include #include #include const int INF=0x3f3f3f3f;const int MAXN=10000;int n,s;int dist[MAXN];int cost[MAXN][MAXN];bool ... 阅读全文

posted @ 2015-08-19 21:18 onlyAzha 阅读(122) 评论(0) 推荐(0) 编辑

导航