結果

問題 No.207 世界のなんとか
ユーザー momiji53momiji53
提出日時 2016-11-16 00:26:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 148 ms / 5,000 ms
コード長 224 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 23,396 KB
最終ジャッジ日時 2023-08-28 18:51:33
合計ジャッジ時間 6,152 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 143 ms
23,228 KB
testcase_01 AC 143 ms
23,324 KB
testcase_02 AC 144 ms
23,396 KB
testcase_03 AC 142 ms
23,224 KB
testcase_04 AC 144 ms
23,204 KB
testcase_05 AC 143 ms
23,320 KB
testcase_06 AC 143 ms
23,280 KB
testcase_07 AC 144 ms
23,284 KB
testcase_08 AC 144 ms
23,304 KB
testcase_09 AC 143 ms
23,228 KB
testcase_10 AC 143 ms
23,304 KB
testcase_11 AC 143 ms
23,344 KB
testcase_12 AC 143 ms
23,284 KB
testcase_13 AC 144 ms
23,228 KB
testcase_14 AC 146 ms
23,304 KB
testcase_15 AC 143 ms
23,280 KB
testcase_16 AC 144 ms
23,284 KB
testcase_17 AC 148 ms
23,200 KB
testcase_18 AC 143 ms
23,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from pip._vendor.requests.packages.urllib3.connectionpool import xrange
first = input()

s = first.split()

a = int(s[0])
b = int(s[1])

for i in xrange(a,b+1):
    if i % 3 == 0 or str(i).find("3") != -1:
        print(i)

0