摘要:
简单并查集 Description Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid March 阅读全文
摘要:
/ 7 9 集合相似度 / include using namespace std; setss[100]; int aa, bb, n, m, t; void solve(int a, int b){ int same = 0; set::iterator it; for(it = ss[a].b 阅读全文
摘要:
``` #include #include #include #include #include #include using namespace std; int vv[10000]; int N, M; void print() { bool t = 1; for(int i= 0 ; i > N >> M; for(int i= 0 ; i > vv[i]; ... 阅读全文
摘要:
``` #include #include #include #include #include #include using namespace std; int vv[10000]; int N, M; void print() { bool t = 1; for(int i= 0 ; i > N >> M; for(int i= 0 ; i > vv[i]; ... 阅读全文
摘要:
``` include include include include include using namespace std; int bulk[1001]; int n; int main(){ memset(bulk,0,sizeof bulk); cin n; int recnum = 1, 阅读全文
摘要:
占个坑,等自己数学好一点以后再来重新把这个题写一遍 "附上链接" 附上大牛代码: c++ include include define INF 99999999 define ll long long using namespace std; struct line { int x, y1, y2; 阅读全文
摘要:
``` include include include include include using namespace std; int n, targetnum, targetlen; int sumlen = 0; int stick[1000]; bool vis[1000]; bool cm 阅读全文
摘要:
``` include include define LL long long using namespace std; const int maxn = 10000; LL a[maxn]; int n; //返回row的值 int xorGauss()//可以用来解模二的方程,加快速度 { in 阅读全文