結果
| 問題 | No.542 1円玉と5円玉 |
| コンテスト | |
| ユーザー |
strn5
|
| 提出日時 | 2019-07-23 17:12:24 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 97 ms / 2,000 ms |
| コード長 | 227 bytes |
| 記録 | |
| コンパイル時間 | 406 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-03-12 17:41:18 |
| 合計ジャッジ時間 | 2,172 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| 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))
new_price.sort()
for i in range(1, len(new_price)):
print(new_price[i])
strn5