上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 45 下一页
该文被密码保护。 阅读全文
posted @ 2019-08-15 09:34 wqtnb_tql_qwq_%%% 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-08-15 09:34 wqtnb_tql_qwq_%%% 阅读(6) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-08-15 09:32 wqtnb_tql_qwq_%%% 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; int n,m,a[30],ans; bool use[30],t[2010]; void dfs(int now,int cnt){ if(now==m){ memset(t,0,sizeof(t)); int sum=0,tot=0; t[0]=1; for(int i=1;i=0;j--)if(t[j] && !... 阅读全文
posted @ 2018-10-12 19:31 wqtnb_tql_qwq_%%% 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; int n; double x,xx,y,yy,ans,pi=3.141592,t[10]; bool use[10]; struct point{double x,y;}a[10]; double min(double x,double y){return x=y?x:y;} double dist(int x,int y){ ... 阅读全文
posted @ 2018-10-11 18:21 wqtnb_tql_qwq_%%% 阅读(104) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; double dist,p[10],d[10],v1,c,t,ans,r[10]; int n,now; int min(){ double minn=100000000000; int j; for(int i=0;ip[i])minn=p[i],j=i; return j; } int main(){ ... 阅读全文
posted @ 2018-09-27 13:29 wqtnb_tql_qwq_%%% 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; int n,m,k,x[510],y[510],f[20010],ans; int main(){ scanf("%d%d%d",&n,&m,&k); for(int i=1;i0 && (i+y[j]-x[j])0 && (y[j]+x[j]-i)<=m && f[y[j]+x[j]-i]!=i){ ... 阅读全文
posted @ 2018-05-29 13:14 wqtnb_tql_qwq_%%% 阅读(129) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace std; int n,a[30],b[30],ans; bool use[30]; void search(int now){ if(now>n){ans++; return;} if(!use[a[now]]){ use[a[now]]=true; ... 阅读全文
posted @ 2017-12-28 15:52 wqtnb_tql_qwq_%%% 阅读(140) 评论(0) 推荐(0) 编辑
摘要: //建堆 // 排序输出 //插入 阅读全文
posted @ 2017-10-30 16:20 wqtnb_tql_qwq_%%% 阅读(257) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; const int N=40010; int n,a[N],t[N]; long long ans; inline int read(){ char c; int x=0; c=getchar(); while(!isdigit(c))c=getchar(); ... 阅读全文
posted @ 2017-10-22 13:36 wqtnb_tql_qwq_%%% 阅读(133) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 45 下一页