結果
| 問題 |
No.542 1円玉と5円玉
|
| コンテスト | |
| ユーザー |
strn5
|
| 提出日時 | 2019-07-23 17:03:18 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| コンパイル時間 | 222 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-06-26 03:47:45 |
| 合計ジャッジ時間 | 1,093 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 10 |
ソースコード
A, B = map(int, input().split())
price = []
for i in range(A+1):
for j in range(B+1):
price.append(i + j*5)
new_price = list(set(price))
for i in range(1, len(new_price)):
print(new_price[i])
strn5