摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=3010,M=10010; int h[N],e[M],ne[M],idx; double w[M]; int n,m; double dist[N]; int cnt[N 阅读全文
posted @ 2026-02-24 22:45
AnoSky
阅读(4)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e4+10,M=5e4+10; int dist[N],cnt[N],st[N]; int h[N],ne[M],e[M],w[M],idx; int n,m; void 阅读全文
posted @ 2026-02-24 21:40
AnoSky
阅读(2)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=5e3+10,M=15e3+10; int h[N],ne[M],e[M],w[M],idx; int cnt[N],dist[N],st[N]; int n,m; voi 阅读全文
posted @ 2026-02-24 20:50
AnoSky
阅读(2)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=2e3+10,M=6e3+10; int t; int n,m; int h[N],ne[M],w[M],e[M],idx; bool st[N]; int cnt[N]; 阅读全文
posted @ 2026-02-24 20:13
AnoSky
阅读(3)
评论(0)
推荐(0)

浙公网安备 33010602011771号