結果
| 問題 | No.2138 Add Bacon |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-01 12:43:22 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 254 bytes |
| 記録 | |
| コンパイル時間 | 490 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 20,588 KB |
| 最終ジャッジ日時 | 2026-03-29 14:48:31 |
| 合計ジャッジ時間 | 7,405 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)