結果

問題 No.2138 Add Bacon
ユーザー tassei903tassei903
提出日時 2022-12-03 10:29:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 76 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 82,460 KB
実行使用メモリ 53,668 KB
最終ジャッジ日時 2024-04-18 18:38:05
合計ジャッジ時間 1,852 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
52,744 KB
testcase_01 AC 35 ms
52,848 KB
testcase_02 AC 35 ms
51,832 KB
testcase_03 AC 36 ms
53,572 KB
testcase_04 AC 32 ms
51,684 KB
testcase_05 AC 32 ms
52,020 KB
testcase_06 AC 35 ms
52,356 KB
testcase_07 AC 35 ms
52,324 KB
testcase_08 AC 36 ms
53,428 KB
testcase_09 AC 32 ms
51,784 KB
testcase_10 AC 34 ms
51,688 KB
testcase_11 AC 32 ms
51,740 KB
testcase_12 AC 35 ms
52,428 KB
testcase_13 AC 32 ms
51,936 KB
testcase_14 AC 32 ms
52,252 KB
testcase_15 AC 32 ms
52,792 KB
testcase_16 AC 33 ms
52,340 KB
testcase_17 AC 33 ms
52,380 KB
testcase_18 AC 33 ms
53,328 KB
testcase_19 AC 34 ms
52,348 KB
testcase_20 AC 32 ms
53,192 KB
testcase_21 AC 33 ms
52,500 KB
testcase_22 AC 32 ms
53,668 KB
testcase_23 AC 35 ms
51,744 KB
testcase_24 AC 34 ms
52,732 KB
testcase_25 AC 36 ms
51,880 KB
testcase_26 AC 34 ms
53,016 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d,e = map(int, input().split())
print(max(a - b + c * (d - e), a - b))
0