結果

問題 No.542 1円玉と5円玉
ユーザー えいじ
提出日時 2023-10-08 12:05:45
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 176 bytes
コンパイル時間 108 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-07-26 18:06:01
合計ジャッジ時間 1,176 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = [int(x) for x in input().split()]
ans = []
for i in range(a + 1):
    for j in range(b + 1):
        ans.append(i + j * 5)
for v in sorted(list(set(ans))):
    print(v)
0