結果
| 問題 | 
                            No.2138 Add Bacon
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-07-01 12:46:11 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 253 bytes | 
| コンパイル時間 | 105 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-07-07 23:17:11 | 
| 合計ジャッジ時間 | 1,830 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | RE * 2 | 
| other | RE * 25 | 
ソースコード
deli, calory, becon, deli_per_be, calo_per_be = list(map(int, input().split())) utility = deli - calory for n in becon: if deli + n*deli_per_be - n*calo_per_be - calory > utility: utility = deli + n*deli_per_be - n*calo_per_be - calory print(utility)