結果

問題 No.207 世界のなんとか
ユーザー iwachanOrigin
提出日時 2018-12-27 23:53:52
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 26 ms / 5,000 ms
コード長 224 bytes
コンパイル時間 75 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-01 14:56:28
合計ジャッジ時間 1,123 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import re

a = [int(x) for x in input().split()]

start = a[0]
end = a[1]

for i in range(start, end + 1) :
    match = re.search('3', str(i))
    if match :
        print(i)
    elif i % 3 == 0 :
        print(i)
0