結果
| 問題 | 
                            No.542 1円玉と5円玉
                             | 
                    
| コンテスト | |
| ユーザー | 
                             strn5
                         | 
                    
| 提出日時 | 2019-07-23 16:59:29 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 211 bytes | 
| コンパイル時間 | 201 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-06-26 03:44:04 | 
| 合計ジャッジ時間 | 1,485 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 WA * 1 | 
| other | AC * 10 | 
ソースコード
A, B = map(int, input().split())
price = []
for i in range(A+1):
    for j in range(B+1):
        price.append(i + j*5)
new_price = list(set(price))
for i in range(1, len(new_price)):
    print(new_price[i])
            
            
            
        
            
strn5