摘要: #include<iostream> #include<cstring> #include<cstdio> using namespace std; int cow[1005],edge[1005][1005],k,n,m,visit_sum[1005]; bool visit[1005]; voi 阅读全文
posted @ 2021-08-16 20:45 智人心 阅读(32) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> #include<cstdio> using namespace std; int yh[15][15]; void init(){ int i,j; for(i=1;i<=10;i++){ yh[i][1] = 1; y 阅读全文
posted @ 2021-08-16 19:59 智人心 阅读(24) 评论(0) 推荐(0)
摘要: n^2:10000 n^3:600 阅读全文
posted @ 2021-08-16 19:49 智人心 阅读(40) 评论(0) 推荐(0)
摘要: #include<iostream> #include<ctime> #include<algorithm> #include<cstdio> using namespace std; long long data[10005],d[10005]; void init(int n){ int j; 阅读全文
posted @ 2021-08-16 19:14 智人心 阅读(34) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cstdio> using namespace std; int prime[20005]; void init(){ int i,j; memset(prime,0,sizeof prime); prime 阅读全文
posted @ 2021-08-16 19:13 智人心 阅读(85) 评论(0) 推荐(0)