結果

問題 No.542 1円玉と5円玉
ユーザー pete1288998
提出日時 2020-06-27 20:23:20
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 227 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-05 20:58:35
合計ジャッジ時間 1,183 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

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 = table[1:]
table.sort()        
table = set(table)

for i in table:
    print(i)
0