結果

問題 No.207 世界のなんとか
ユーザー mos_13184925mos_13184925
提出日時 2018-06-28 16:41:12
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 319 bytes
コンパイル時間 2,000 ms
コンパイル使用メモリ 71,224 KB
実行使用メモリ 58,532 KB
最終ジャッジ日時 2023-09-13 14:49:40
合計ジャッジ時間 5,657 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 132 ms
55,620 KB
testcase_04 AC 129 ms
55,792 KB
testcase_05 WA -
testcase_06 AC 126 ms
55,856 KB
testcase_07 AC 126 ms
55,560 KB
testcase_08 AC 127 ms
55,772 KB
testcase_09 AC 132 ms
55,576 KB
testcase_10 WA -
testcase_11 AC 131 ms
55,804 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 134 ms
55,672 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 128 ms
56,076 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt();
        for(int i = a; i < b; i++) {
            if(i % 3 == 0 || String.valueOf(i).contains("3")) System.out.println(i);
        }
    }
}
0