結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
splash9494
|
| 提出日時 | 2020-05-02 19:20:57 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 5,000 ms |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 1,357 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2026-06-04 18:15:39 |
| 合計ジャッジ時間 | 3,173 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 |
ソースコード
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)
splash9494