結果

問題 No.207 世界のなんとか
ユーザー Drakkon
提出日時 2018-02-05 01:16:04
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 428 bytes
コンパイル時間 189 ms
コンパイル使用メモリ 28,800 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-04 02:45:01
合計ジャッジ時間 789 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(void){
    int A, B, t;
    scanf("%d%d", &A, &B);
    while(A != B){
        t = A;
        if(A % 3 == 0){
            printf("%d\n", A);
        }
        else{
            while(A != 0){
                if(A % 10 == 3){
                    printf("%d\n", t);
                }
                A /= 10;
            }
        }
        A = t;
        A++;
    }
    return 0;
}
0