摘要:
不知道再哪里炸了longlong,懒得想了,全开就好了 #include <bits/stdc++.h> using namespace std; long long a[200100], c[200100], c1[200100], c2[200100], n; long long ans1 = 阅读全文
posted @ 2020-09-03 16:34
mybing
阅读(123)
评论(0)
推荐(0)
摘要:
#include<bits/stdc++.h> using namespace std; int n,m,t,x[101000],y[101000],a[201000]; int main() { scanf("%d%d",&n,&m);t=0; for(int i=1;i<=m;i++) { sc 阅读全文
posted @ 2020-09-03 10:10
mybing
阅读(150)
评论(0)
推荐(0)
摘要:
带权并查集 #include<cstdio> #include<string> #include<cstring> #include<algorithm> #include<cmath> #include<iostream> using namespace std; int n,m,x[10010] 阅读全文
posted @ 2020-09-03 09:31
mybing
阅读(116)
评论(0)
推荐(0)