結果

問題 No.542 1円玉と5円玉
ユーザー naotoman
提出日時 2018-07-19 00:31:01
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 156 bytes
コンパイル時間 298 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-12-17 17:03:57
合計ジャッジ時間 1,024 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 4 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())
for i5 in range(B+1):
    for i1 in range(min(5, A+1)):
        ans = i5*5 + i1
        if ans != 0:
            print(ans)
0