結果

問題 No.207 世界のなんとか
ユーザー tso_moriritso_moriri
提出日時 2018-11-30 20:00:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 251 bytes
コンパイル時間 627 ms
コンパイル使用メモリ 10,608 KB
実行使用メモリ 7,960 KB
最終ジャッジ日時 2023-09-09 06:32:49
合計ジャッジ時間 1,418 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

A,B = map(int,input().split())
def nabeatsu(x):
    for n in range(0,10):
        if (x//(10**n))%10-3 == 0 or x%3 == 0:
            return True
        else:
            return False
for i in range(A,B+1):
    if nabeatsu(i) == True:
        print(i)
0