摘要:
#include<bits/stdc++.h> using namespace std; const int N=110; double a[N][N]; const double eps = 1e-8; int n; int guess(){ int c, r; for (c = 0, r = 0 阅读全文
摘要:
#include<iostream> #include<string> using namespace std; const int MAX=1000; struct Person { string m_Name;//姓名 int m_Sex;//性别 1为男 2为女 int m_Age; //年龄 阅读全文
摘要:
#include<iostream> #include<cstring> #include<algorithm> using namespace std; const int N=1e5+10; int n,m; int h[N],e[N],ne[N],idx; int d[N];//入线 int 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; typedef long long LL; LL exgcd(LL a, LL b, LL &x, LL &y) { if (!b) { x = 1, y = 0; return a; } LL d = exg 阅读全文
摘要:
#include<iostream> using namespace std; const int N=100010; int p[N]; int find(int x){ if(p[x]!=x) p[x]=find(p[x]); return p[x]; } int main(){ int n,m 阅读全文