結果
問題 | No.542 1円玉と5円玉 |
ユーザー |
![]() |
提出日時 | 2019-05-13 15:35:25 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 137 ms |
コンパイル使用メモリ | 7,076 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-07 17:47:25 |
合計ジャッジ時間 | 865 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 10 |
ソースコード
A, B = map(int, raw_input().split())price = []for i in range(1, A+1):for j in range(1, B+1):yen = i + j*5if yen not in price: price.append(yen)price.sort()for i in range(0, len(price)):print price[i]