#include <cstdio>
#include <cstring>
#include <stack>
using namespace std;
#define maxn 105
int n, cnt = 0, lowcost[maxn], head[maxn];
struct edge {
int to, w, next;
}e[maxn * maxn];
struct edg {
int x, y, dis;
};
stack<edg> ed;
bool vis[maxn];
void add_edge(int u, int v, int w) {
e[++cnt].to = v;
e[cnt]
最短路径
最新推荐文章于 2022-11-27 14:27:23 发布