結果

問題 No.542 1円玉と5円玉
ユーザー Luoto-green
提出日時 2017-07-31 10:33:56
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 108 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-10-11 00:07:08
合計ジャッジ時間 1,164 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
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):
        A = 1 * j + 5 * i
        if A == 0:
            continue
        ans.add(A)
for i in ans:
    print(i)
0