摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; const int MAXN = 205; const int INF = 1e9; // 定义一个足够大的数代表无穷大 int n, m; int t[MAXN]; //存每个村庄的修复时间 i 阅读全文
posted @ 2026-01-18 23:56
AnoSky
阅读(2)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; typedef pair<int,int> PII; const int N=3000; const int M=7000*2; int n,m,s,t; struct Edge{ int to; 阅读全文
posted @ 2026-01-18 21:53
AnoSky
阅读(2)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=110; const int M=10010; int n,m; int p[N]; int dist[N][N]; long long ans; int main() { 阅读全文
posted @ 2026-01-18 21:52
AnoSky
阅读(2)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; typedef pair<int,int> PII; const int MAXN=1e5+10; const int MAXM=1e6+10; const int INF=2147483647; 阅读全文
posted @ 2026-01-18 17:34
AnoSky
阅读(1)
评论(0)
推荐(0)

浙公网安备 33010602011771号