結果

問題 No.207 世界のなんとか
ユーザー Fullmoon85072Fullmoon85072
提出日時 2020-08-01 16:30:24
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 378 ms
コンパイル使用メモリ 87,036 KB
実行使用メモリ 71,616 KB
最終ジャッジ日時 2023-09-22 10:58:11
合計ジャッジ時間 2,743 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 70 ms
71,376 KB
testcase_02 WA -
testcase_03 AC 68 ms
71,188 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 70 ms
71,244 KB
testcase_07 AC 73 ms
71,220 KB
testcase_08 AC 71 ms
71,288 KB
testcase_09 AC 70 ms
71,216 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 71 ms
71,388 KB
testcase_17 AC 72 ms
71,248 KB
testcase_18 AC 70 ms
71,452 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

line = input().split(" ")
min_num = int(line[0])
max_num = int(line[1])

for x in range(min_num, max_num+1):

    # 3の倍数
    if x % 3 == 0:
        print(x)
        continue

    # 3のつく数
    for ch in str(x):
        if ch == '3':
            print(x)
            continue
0