結果

問題 No.1453 手助け
ユーザー SchneeSchnee
提出日時 2021-05-08 17:49:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 165 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 11,820 KB
実行使用メモリ 10,156 KB
最終ジャッジ日時 2023-10-16 23:40:09
合計ジャッジ時間 3,425 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,092 KB
testcase_01 AC 28 ms
10,092 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 28 ms
10,092 KB
testcase_06 WA -
testcase_07 AC 28 ms
10,092 KB
testcase_08 AC 27 ms
10,092 KB
testcase_09 AC 28 ms
10,092 KB
testcase_10 WA -
testcase_11 AC 27 ms
10,092 KB
testcase_12 WA -
testcase_13 AC 28 ms
10,092 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 28 ms
10,092 KB
testcase_17 AC 27 ms
10,092 KB
testcase_18 WA -
testcase_19 AC 29 ms
10,092 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 28 ms
10,092 KB
testcase_23 AC 28 ms
10,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d,e = map(int,input().split())
num2buy = a * (b - c)
num_discount = num2buy // 10 if d >= e else 0
print(num_discount * (d - e) + (num2buy - num_discount) * d)
0