結果

問題 No.207 世界のなんとか
ユーザー UK_kkbjUK_kkbj
提出日時 2017-06-16 17:52:00
言語 C
(gcc 12.3.0)
結果
OLE  
実行時間 -
コード長 454 bytes
コンパイル時間 226 ms
コンパイル使用メモリ 29,952 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-04-08 13:40:45
合計ジャッジ時間 38,910 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 OLE -
testcase_01 OLE -
testcase_02 OLE -
testcase_03 OLE -
testcase_04 OLE -
testcase_05 OLE -
testcase_06 AC 1 ms
6,676 KB
testcase_07 OLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <math.h>
int main(void){
    int a, b;
    scanf("%d%d", &a, &b);
    while(a <= b){
        if(a % 3 == 0){
            printf("%d\n",a);
        }
        else {
            int temp;
            temp = a;
            while(temp > 0){
                if(temp % 10 == 3){
                    printf("%d\n",a);
                }
                else temp /= 10;
            }
        }
        NO:       a++;}
    return 0;
}
0