結果

問題 No.2138 Add Bacon
ユーザー hotman78hotman78
提出日時 2022-12-01 13:10:40
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 72 ms / 2,000 ms
コード長 88 bytes
コンパイル時間 913 ms
コンパイル使用メモリ 87,224 KB
実行使用メモリ 71,572 KB
最終ジャッジ日時 2023-07-30 01:31:08
合計ジャッジ時間 3,609 ms
ジャッジサーバーID
(参考情報)
judge5 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,572 KB
testcase_01 AC 72 ms
71,324 KB
testcase_02 AC 71 ms
71,404 KB
testcase_03 AC 72 ms
71,540 KB
testcase_04 AC 70 ms
71,336 KB
testcase_05 AC 72 ms
71,156 KB
testcase_06 AC 72 ms
71,316 KB
testcase_07 AC 71 ms
71,336 KB
testcase_08 AC 71 ms
71,412 KB
testcase_09 AC 71 ms
71,544 KB
testcase_10 AC 70 ms
71,192 KB
testcase_11 AC 70 ms
71,420 KB
testcase_12 AC 72 ms
71,528 KB
testcase_13 AC 70 ms
71,336 KB
testcase_14 AC 69 ms
71,304 KB
testcase_15 AC 71 ms
71,152 KB
testcase_16 AC 70 ms
71,480 KB
testcase_17 AC 69 ms
71,528 KB
testcase_18 AC 69 ms
71,356 KB
testcase_19 AC 70 ms
71,272 KB
testcase_20 AC 70 ms
71,168 KB
testcase_21 AC 71 ms
71,436 KB
testcase_22 AC 71 ms
71,256 KB
testcase_23 AC 71 ms
71,468 KB
testcase_24 AC 70 ms
71,300 KB
testcase_25 AC 70 ms
71,432 KB
testcase_26 AC 71 ms
71,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d,e=list(map(int,input().split()))
if d-e>0 : print(a-b+(d-e)*c)
else : print(a-b)
0