結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2015-08-08 22:26:57 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 185 bytes |
| 記録 | |
| コンパイル時間 | 100 ms |
| コンパイル使用メモリ | 20,608 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-18 06:06:09 |
| 合計ジャッジ時間 | 726 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 19 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | a,b,p,q;main(t){scanf("%d%d",&a,&b);for(p=a/10;(p/=10)&&p%10-3;);for(q=b/10;(q/=10)&&q%10-3;);for(t=b%100>a%100;a<=b;a++)!(t|a%100>b%100?p:q)&&a%10-3&&a/10%10-3&&a%3&&printf("%d\n",a);}
| ^
main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
main.c:1:3: warning: type defaults to ‘int’ in declaration of ‘b’ [-Wimplicit-int]
1 | a,b,p,q;main(t){scanf("%d%d",&a,&b);for(p=a/10;(p/=10)&&p%10-3;);for(q=b/10;(q/=10)&&q%10-3;);for(t=b%100>a%100;a<=b;a++)!(t|a%100>b%100?p:q)&&a%10-3&&a/10%10-3&&a%3&&printf("%d\n",a);}
| ^
main.c:1:5: warning: type defaults to ‘int’ in declaration of ‘p’ [-Wimplicit-int]
1 | a,b,p,q;main(t){scanf("%d%d",&a,&b);for(p=a/10;(p/=10)&&p%10-3;);for(q=b/10;(q/=10)&&q%10-3;);for(t=b%100>a%100;a<=b;a++)!(t|a%100>b%100?p:q)&&a%10-3&&a/10%10-3&&a%3&&printf("%d\n",a);}
| ^
main.c:1:7: warning: type defaults to ‘int’ in declaration of ‘q’ [-Wimplicit-int]
1 | a,b,p,q;main(t){scanf("%d%d",&a,&b);for(p=a/10;(p/=10)&&p%10-3;);for(q=b/10;(q/=10)&&q%10-3;);for(t=b%100>a%100;a<=b;a++)!(t|a%100>b%100?p:q)&&a%10-3&&a/10%10-3&&a%3&&printf("%d\n",a);}
| ^
main.c:1:9: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | a,b,p,q;main(t){scanf("%d%d",&a,&b);for(p=a/10;(p/=10)&&p%10-3;);for(q=b/10;(q/=10)&&q%10-3;);for(t=b%100>a%100;a<=b;a++)!(t|a%100>b%100?p:q)&&a%10-3&&a/10%10-3&&a%3&&printf("%d\n",a);}
| ^~~~
main.c: In function ‘main’:
main.c:1:9: warning: type of ‘t’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:17: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
1 | a,b,p,q;main(t){scanf("%d%d",&a,&b);for(p=a/10;(p/=10)&&p%10-3;);for(q=b/10;(q/=10)&&q%10-3;);for(t=b%100>a%100;a<=b;a++)!(t|a%100>b%100?p:q)&&a%10-3&&a/10%10-3&&a%3&&printf("%d\n",a);}
| ^~~~~
main.c:1:1: note: incl
ソースコード
a,b,p,q;main(t){scanf("%d%d",&a,&b);for(p=a/10;(p/=10)&&p%10-3;);for(q=b/10;(q/=10)&&q%10-3;);for(t=b%100>a%100;a<=b;a++)!(t|a%100>b%100?p:q)&&a%10-3&&a/10%10-3&&a%3&&printf("%d\n",a);}
testestest