摘要:
#includeint main(){ int n; while(scanf("%d",&n)!=EOF) { if(n500) continue; else if(n<=60) printf("Speed: %d - OK\n",n); else printf("Speed: %d - Sp... 阅读全文
摘要:
#includeint main(){ int n; int a,b; while(scanf("%d",&n)!=EOF) { if(n153||n%16>9) continue; a=n/16; b=n%16; printf("%d\n",a*10+b); } return 0;} 阅读全文
摘要:
#includeint main(){ int n; int a,b,c; while(scanf("%d",&n)!=EOF) { if(n=1000)continue; c=n%10; b=n/10%10; a=n/100; n=a+b*10+c*100; printf("%d\n"... 阅读全文
摘要:
#includeint main(){ int a,b; int m,n,c; while(scanf("%d%d",&a,&b)!=EOF) { m=a/100; n=a%100; c=m*60+n+b; m=c/60; n=c%60; if(m>=24||m<0) continue;... 阅读全文
摘要:
#includeint main(){ int A,B; while(scanf("%d%d",&A,&B)!=EOF) { printf("%d + %d = %d\n",A,B,A+B); printf("%d - %d = %d\n",A,B,A-B); printf("%d * %d ... 阅读全文
摘要:
#include int main() { int n; int a,b; float t; while(scanf("%d",&n)!=EOF) { t=(float)n/30.48; a=(int)t; t=t-a; b=(int)(t*12); printf("%d %d\n",a,... 阅读全文
摘要:
#include#includeint main(){ int k,i; while(scanf("%d",&k)!=EOF) { if(k100000) continue; int *a=(int *)malloc(k*sizeof(int)); int sum=0,b=0; for(... 阅读全文
摘要:
#include#includeint main(){ int k,i; int *a; while(scanf("%d",&k)!=EOF) { int sum=0,b=0; int f=0,l=k,t=0; a=(int *)malloc(k*sizeof(int)); for(i=0;... 阅读全文