結果

問題 No.207 世界のなんとか
ユーザー slim
提出日時 2017-11-13 21:37:12
言語 Python2
(2.7.18)
結果
AC  
実行時間 11 ms / 5,000 ms
コード長 206 bytes
コンパイル時間 397 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-25 00:30:29
合計ジャッジ時間 1,280 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

N = raw_input().split()
a = int(N[0])
ua = str(N[0])
b = int(N[1])

while a <= b:
    
    if a%3 == 0:
        print a
    elif ua.find("3") >= 0:
        print a
    a += 1
    N[0] = a
    ua = str(N[0])
0