結果
| 問題 | No.2138 Add Bacon |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-01 12:50:00 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 258 bytes |
| 記録 | |
| コンパイル時間 | 533 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 20,576 KB |
| 最終ジャッジ日時 | 2026-03-29 14:52:33 |
| 合計ジャッジ時間 | 7,095 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_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 len(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)