結果

問題 No.2138 Add Bacon
ユーザー 👑 H20H20
提出日時 2022-12-01 21:18:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 64 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 53,180 KB
最終ジャッジ日時 2024-04-17 09:08:19
合計ジャッジ時間 2,054 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
51,964 KB
testcase_01 AC 36 ms
51,500 KB
testcase_02 AC 36 ms
51,516 KB
testcase_03 AC 37 ms
51,756 KB
testcase_04 AC 37 ms
53,040 KB
testcase_05 AC 37 ms
52,064 KB
testcase_06 AC 36 ms
52,088 KB
testcase_07 AC 37 ms
52,788 KB
testcase_08 AC 37 ms
52,260 KB
testcase_09 AC 37 ms
52,376 KB
testcase_10 AC 36 ms
52,120 KB
testcase_11 AC 36 ms
52,464 KB
testcase_12 AC 37 ms
51,908 KB
testcase_13 AC 37 ms
53,180 KB
testcase_14 AC 37 ms
51,972 KB
testcase_15 AC 37 ms
51,388 KB
testcase_16 AC 37 ms
51,768 KB
testcase_17 AC 39 ms
52,156 KB
testcase_18 AC 38 ms
53,060 KB
testcase_19 AC 37 ms
51,668 KB
testcase_20 AC 38 ms
52,780 KB
testcase_21 AC 37 ms
52,144 KB
testcase_22 AC 36 ms
52,332 KB
testcase_23 AC 36 ms
52,776 KB
testcase_24 AC 36 ms
52,348 KB
testcase_25 AC 36 ms
51,548 KB
testcase_26 AC 37 ms
52,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C,D,E = map(int,input().split())
print(max(A-B,A-B+C*(D-E)))
0