結果

問題 No.542 1円玉と5円玉
ユーザー Luoto-green
提出日時 2017-07-31 10:39:33
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 2,000 ms
コード長 161 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-11 00:07:11
合計ジャッジ時間 1,125 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

e_1,e_5 = map(int,input().split())
ans=set()
for i in range(e_5+1):
    for j in range(e_1+1):
        ans.add(j + 5 * i)

for i in sorted(ans)[1:]:
    print(i)
0