摘要:
/** 图论之最短路径 Floyd算法 */ #include<stdio.h> #include<string.h> #include<algorithm> #define INF 0x3f3f3f int g[100][100]; void Floyd(int n) { for(int k=0; 阅读全文
posted @ 2021-03-08 21:33
永恒&
阅读(65)
评论(0)
推荐(0)
摘要:
/** 图论之最短路径Dijkstra算法 */ #include<string.h> #include<stdio.h> #include<vector> #include<queue> using namespace std; const int MAXN = 200; const int IN 阅读全文
posted @ 2021-03-08 19:57
永恒&
阅读(96)
评论(0)
推荐(0)

浙公网安备 33010602011771号