結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
splash9494
|
| 提出日時 | 2020-05-02 19:20:57 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 5,000 ms |
| コード長 | 200 bytes |
| コンパイル時間 | 332 ms |
| コンパイル使用メモリ | 82,496 KB |
| 実行使用メモリ | 53,680 KB |
| 最終ジャッジ日時 | 2024-12-31 07:18:51 |
| 合計ジャッジ時間 | 1,986 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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