摘要:
//讨厌的模拟= = #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 阅读全文
摘要:
#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 阅读全文
摘要:
#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< 阅读全文
摘要:
//有点坑爹 #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 阅读全文