摘要:
#includeint main(){ char str[41]; int i; while(gets(str)!=NULL) { i=0; while(str[i]!='#') { if(str[i]>='a'&&str[i]='A'&&str[i]<='Z') str[i]+='a'-... 阅读全文
摘要:
#includeint main(){ int a,b; int flag; char ch;// while(scanf("%d",&a)!=EOF)// { scanf("%d",&a); scanf("%c",&ch); flag=0; while(ch!='=') { scan... 阅读全文
摘要:
#includeint main(){ int n; char e; double d1,d2; while(scanf("%lf%d",&d1,&n)!=EOF) { e=getchar(); while(e==' ') scanf("%c",&e); scanf("%lf",&d2);... 阅读全文
摘要:
#include#includeint main(){ int a,n; int i; int sum; while(scanf("%d%d",&a,&n)!=EOF) { if(a>9||a8||n<1) continue; sum=0; for(i=0;i<n;i++) sum+=(n... 阅读全文
摘要:
#includechar a[10][5]={"ling","yi","er","san","si","wu","liu","qi","ba","jiu"};int output(int n,int m){ if(n>=10) output(n/10,m); if(n=m) printf("%s\n... 阅读全文
摘要:
#includeint main(){ int n,m; int a,b,r; char e; while(scanf("%d",&n)!=EOF) { scanf("%c%d",&e,&m); if(nn)?m:n; b=(m<n)?m:n; r=a%b; while(r) { a... 阅读全文
摘要:
#includeint main(){ int n,i; double a,b,t; double sum; while(scanf("%d",&n)!=EOF) { if(n<1) continue; a=2.0; b=1.0; sum=0.0; for(i=0;i<n;i++) { ... 阅读全文
摘要:
#includeint main(){ int m,n,i,c; while(scanf("%d%d",&m,&n)!=EOF) { if(m100||n>100) continue; for(i=1;im) printf("Too big\n"); if(c==m) { if(i... 阅读全文