結果
| 問題 | No.207 世界のなんとか | 
| コンテスト | |
| ユーザー | 👑  testestest | 
| 提出日時 | 2015-08-08 22:28:01 | 
| 言語 | C90 (gcc 12.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 1 ms / 5,000 ms | 
| コード長 | 185 bytes | 
| コンパイル時間 | 94 ms | 
| コンパイル使用メモリ | 20,608 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-10-09 10:28:32 | 
| 合計ジャッジ時間 | 771 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 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);}
            
            
            
        