結果

問題 No.2138 Add Bacon
ユーザー suisensuisen
提出日時 2022-12-01 00:18:55
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 58 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 86,820 KB
実行使用メモリ 71,228 KB
最終ジャッジ日時 2023-07-29 12:49:35
合計ジャッジ時間 3,045 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,228 KB
testcase_01 AC 61 ms
70,884 KB
testcase_02 AC 63 ms
71,052 KB
testcase_03 AC 63 ms
71,184 KB
testcase_04 AC 63 ms
70,880 KB
testcase_05 AC 68 ms
70,756 KB
testcase_06 AC 62 ms
70,748 KB
testcase_07 AC 62 ms
71,048 KB
testcase_08 AC 63 ms
70,884 KB
testcase_09 AC 61 ms
71,100 KB
testcase_10 AC 62 ms
71,172 KB
testcase_11 AC 63 ms
70,824 KB
testcase_12 AC 64 ms
70,888 KB
testcase_13 AC 62 ms
70,768 KB
testcase_14 AC 63 ms
71,084 KB
testcase_15 AC 65 ms
71,108 KB
testcase_16 AC 63 ms
70,756 KB
testcase_17 AC 61 ms
71,184 KB
testcase_18 AC 65 ms
70,876 KB
testcase_19 AC 64 ms
71,104 KB
testcase_20 AC 63 ms
71,132 KB
testcase_21 AC 62 ms
70,968 KB
testcase_22 AC 63 ms
71,040 KB
testcase_23 AC 63 ms
71,092 KB
testcase_24 AC 62 ms
71,152 KB
testcase_25 AC 63 ms
71,140 KB
testcase_26 AC 63 ms
70,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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