摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; typedef pair<int,int> PII; const int N=1e6+10,M=4e6+10; int h[N],idx,e[M],ne[M]; int n,m; int cnt[ 阅读全文
posted @ 2026-01-22 17:04
AnoSky
阅读(2)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; typedef pair<int,int> PII; const int N=1005,M=100005; struct Graph{ int h[N],e[M],ne[M],idx,w[M]; 阅读全文
posted @ 2026-01-22 11:44
AnoSky
阅读(1)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; typedef pair<int,int> PII; const int N=1005,M=100005; int h1[N],e1[M],idx1,ne1[M],w1[M]; int h2[N] 阅读全文
posted @ 2026-01-22 10:58
AnoSky
阅读(1)
评论(0)
推荐(0)

浙公网安备 33010602011771号