摘要:
AC代码 #include<bits/stdc++.h> using namespace std; char c[20][20]; char s[20][20]; char f[20][20]; int T; bool judge1() { int k=1,l=T; for(int i=1;i<=T 阅读全文
posted @ 2020-08-26 16:03
panjoel
阅读(127)
评论(0)
推荐(0)
摘要:
AC代码 #include<bits/stdc++.h> using namespace std; long long cnt=1; char a[100010]; int main(){ while(cin>>a[cnt]) cnt++; cnt--; cout<<cnt; return 0; } 阅读全文
posted @ 2020-08-26 15:49
panjoel
阅读(56)
评论(0)
推荐(0)
摘要:
AC代码 #include<iostream> using namespace std; long long a,b,c; char x,t,l; int main(){ while(cin>>x){ if(l!='=') if(x=='a'||x=='b'||x=='c') t=x; if(l== 阅读全文
posted @ 2020-08-26 15:44
panjoel
阅读(91)
评论(0)
推荐(0)
摘要:
AC代码 #include<bits/stdc++.h> using namespace std; long long a[11],b[1010],sum=0; int main(){ for(int i=1;i<=10;i++){cin>>a[i];b[a[i]%42]++;} for(int i 阅读全文
posted @ 2020-08-26 15:41
panjoel
阅读(69)
评论(0)
推荐(0)
摘要:
AC代码 #include<bits/stdc++.h> using namespace std; long long n,m; char a[110][110]; int search(int x,int y){ int cnt=0; if(a[x-1][y]=='*') cnt++;//上 if 阅读全文
posted @ 2020-08-26 15:40
panjoel
阅读(14)
评论(0)
推荐(0)
摘要:
AC代码 #include<bits/stdc++.h> using namespace std; long long n,a[100010]; int main(){ cin>>n; for(int i=1;i<=n;i++)cin>>a[i]; for(int i=1;i<=n;i++){ if 阅读全文
posted @ 2020-08-26 15:38
panjoel
阅读(17)
评论(0)
推荐(0)
摘要:
AC代码 #include<bits/stdc++.h> using namespace std; long long n,a[100010],sum; int main(){ cin>>n; for(int i=1;i<=n;i++)cin>>a[i]; for(int i=1;i<n;i++){ 阅读全文
posted @ 2020-08-26 15:37
panjoel
阅读(22)
评论(0)
推荐(0)
摘要:
AC代码 #include<bits/stdc++.h> using namespace std; long long s,r1,r2; int main(){ cin>>r1>>s; cout<<s*2-r1; return 0; } 阅读全文
posted @ 2020-08-26 15:36
panjoel
阅读(22)
评论(0)
推荐(0)
摘要:
AC代码 #include<bits/stdc++.h> using namespace std; long long n; double ans; struct node{ long long x; long long y; long long z; }a[100010]; bool cmp(no 阅读全文
posted @ 2020-08-26 15:35
panjoel
阅读(23)
评论(0)
推荐(0)
摘要:
AC代码 #include<bits/stdc++.h> using namespace std; int a[105][105]; double sum; int main(){ int i,n,m; double t=0; cin>>n; cin>>m; for(i=0;i<n;i++){ fo 阅读全文
posted @ 2020-08-26 15:33
panjoel
阅读(53)
评论(0)
推荐(0)