結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
Nagisa
|
| 提出日時 | 2015-09-04 07:34:14 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 5,000 ms |
| コード長 | 253 bytes |
| コンパイル時間 | 289 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-09 10:31:15 |
| 合計ジャッジ時間 | 1,569 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 |
ソースコード
A, B = list(map(int, input().split()))
R = []
for n in range(A, B+1):
if n % 3 == 0:
R.append(n)
L = [str(x) for x in range(A,B+1)]
for x in L:
if '3' in x:
R.append(int(x))
R = list(set(R))
for x in sorted(R):
print(x),
Nagisa