結果
| 問題 | No.542 1円玉と5円玉 |
| コンテスト | |
| ユーザー |
pete1288998
|
| 提出日時 | 2020-06-27 20:28:49 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 98 ms / 2,000 ms |
| コード長 | 225 bytes |
| 記録 | |
| コンパイル時間 | 402 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-03-27 06:53:21 |
| 合計ジャッジ時間 | 3,357 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
a,b = map(int,input().split())
table = []
for i in range(a+1):
for j in range(b+1):
tot = 1*i + 5*j
table.append(tot)
table = list(set(table))
table.sort()
table = table[1:]
for i in table:
print(i)
pete1288998