結果

問題 No.207 世界のなんとか
コンテスト
ユーザー splash9494
提出日時 2020-05-02 19:20:57
言語 PyPy3
(8.0.0 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 26 ms / 5,000 ms
+ 396µs
コード長 200 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 63 ms
コンパイル使用メモリ 82,012 KB
実行使用メモリ 56,308 KB
最終ジャッジ日時 2026-10-09 21:06:12
合計ジャッジ時間 1,852 ms
ジャッジサーバーID
(参考情報)
judge4_1 / judge5_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import sys
input = sys.stdin.buffer.readline

A, B = map(int, input().split())

own3 = lambda x: (x % 3 == 0) or ('3' in str(x))
ans = [x for x in range(A, B+1) if own3(x)]
for x in ans:
    print(x)
0