摘要: #include<bits/stdc++.h> using namespace std; int n,m,a[20010],sum; int ( a,cmpintint b){return a>b;} int main(){ cin>>n>>m; for(int i=0;i<n;i++)cin>>a 阅读全文
posted @ 2017-06-26 21:40 wqtnb_tql_qwq_%%% 阅读(201) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; #define INF 1<<29 int n,a[210][210]; void Floyd(){ for(int k=1;k<=n;k++) for(int i=1;i<=n;i++) for(int j= 阅读全文
posted @ 2017-06-26 21:32 wqtnb_tql_qwq_%%% 阅读(149) 评论(0) 推荐(0)
摘要: //讨厌的模拟= = #include<bits/stdc++.h> using namespace std; void work(int n){ int k,t=0,s; while(n){ s=1; k=0; while(s<=n){k++; s+=s;} k--; s/=2; if(t)pri 阅读全文
posted @ 2017-06-26 21:10 wqtnb_tql_qwq_%%% 阅读(136) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int a[1010],n,sum[1010],m[3],z[1010]; void mul(){ memset(z,0,sizeof(z)); z[0]=a[0]+m[0]; for(int i=1;i<=a 阅读全文
posted @ 2017-06-26 20:46 wqtnb_tql_qwq_%%% 阅读(170) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; string x,y; int a[510],b[510],c[1010]; void mul(int a[],int b[]){ for(int i=1;i<=a[0];i++) for(int j=1;j< 阅读全文
posted @ 2017-06-26 13:31 wqtnb_tql_qwq_%%% 阅读(418) 评论(0) 推荐(0)
摘要: //有点坑爹 #include<bits/stdc++.h> using namespace std; string x,y; int a[10010],b[10010]; bool compare(int a[],int b[]){ if(a[0]>b[0])return 1; if(b[0]>a 阅读全文
posted @ 2017-06-26 13:13 wqtnb_tql_qwq_%%% 阅读(182) 评论(0) 推荐(0)