摘要: //1#include<stdio.h>int fun(int a){ int t=0,s[5]; while(a){ s[t++]=a%10; a/=10; } return t;}int main(){ int m,a,b,c; scanf("%d",&m); while(m--){ int f 阅读全文
posted @ 2019-03-01 15:19 捕鱼儿海 阅读(178) 评论(0) 推荐(0) 编辑
摘要: //1#include<stdio.h>int main(){ int a,b,t=0; long sum=0; scanf("%d%d",&a,&b); sum=a*b; int s[10]; while(sum){ s[t++]=sum%10; sum/=10; } int c=0; for(i 阅读全文
posted @ 2019-02-28 12:08 捕鱼儿海 阅读(129) 评论(0) 推荐(0) 编辑
摘要: //1#include<bits/stdc++.h>using namespace std;int main(){ int n; scanf("%d",&n); getchar(); string s; int cnt1,cnt2,cnt3,cnt4; while(n--){ getline(cin 阅读全文
posted @ 2019-02-27 22:26 捕鱼儿海 阅读(190) 评论(0) 推荐(0) 编辑
摘要: //1#include<bits/stdc++.h>using namespace std;int main() { string s; cin >> s; while (cin >> s) { if (s[2] == 'T') printf("%d", s[0] - 'A' + 1); } ret 阅读全文
posted @ 2019-02-27 16:00 捕鱼儿海 阅读(182) 评论(0) 推荐(0) 编辑
摘要: //1#include<bits/stdc++.h>using namespace std;int main(){ int t1,k; scanf("%d%d",&t1,&k); int n1,b,t2,n2,total=t1; while(k--){ scanf("%d%d%d%d",&n1,&b 阅读全文
posted @ 2019-02-26 21:06 捕鱼儿海 阅读(134) 评论(0) 推荐(0) 编辑
摘要: //1 #include<stdio.h>int main(){ int m,n,a,b,c; scanf("%d%d%d%d%d",&m,&n,&a,&b,&c); int p; for(int i=0;i<m;i++){ for(int j=0;j<n;j++){ scanf("%d",&p); 阅读全文
posted @ 2019-02-26 09:56 捕鱼儿海 阅读(133) 评论(0) 推荐(0) 编辑
摘要: //1 #include<stdio.h>int main(){ int m,n; scanf("%d %d",&n,&m); int a[m][2]; for(int i=0;i<m;i++) scanf("%d",&a[i][0]); for(int i=0;i<m;i++) scanf("%d 阅读全文
posted @ 2019-02-25 19:04 捕鱼儿海 阅读(92) 评论(0) 推荐(0) 编辑
摘要: //1 #include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n]; for(int i=0;i<n;i++){ scanf("%d",&a[i]); } int sum=0; for(int i=0;i<n;i++){ for(int 阅读全文
posted @ 2019-02-24 21:03 捕鱼儿海 阅读(148) 评论(0) 推荐(0) 编辑
摘要: //1 #include<stdio.h>#include<math.h> #define m 0.01int main(){ double r1,p1,r2,p2; scanf("%lf %lf %lf %lf",&r1,&p1,&r2,&p2); double a,b; a=r1*cos(p1) 阅读全文
posted @ 2019-02-22 00:46 捕鱼儿海 阅读(121) 评论(0) 推荐(0) 编辑
摘要: //1#include<stdio.h>int main(){ int n; scanf("%d",&n); int jia,jia1,yi,yi1; int cnt1=0,cnt2=0,sum; while(n--){ scanf("%d %d %d %d",&jia,&jia1,&yi,&yi1 阅读全文
posted @ 2019-02-21 21:45 捕鱼儿海 阅读(136) 评论(0) 推荐(0) 编辑