摘要: #include <bits/stdc++.h> using namespace std; int n, m; int dis[10010]; // 存储起点到各点的最短距离 int u[10010], v[10010], w[10010]; // 边的起点、终点、权重 int first[1001 阅读全文
posted @ 2025-09-22 16:36 shuxin5 阅读(8) 评论(0) 推荐(0)