简答题
偏难
#17356
试题名称 :商店折扣 时间限制 :1.0 s 内存限制 :512.0 MB
试题名称:商店折扣
时间限制:1.0 s
内存限制:512.0 MB


答案与解析
正确答案:<pre class="brush:python;toolbar:false;">x = int(input())
y = int(input())
n = int(input())
p = int(input())
a = 0
b = p*n/10
if p>=x:
a = p-y
else:
a = p
if a<b:
print("%.2f"%a)
else:
print("%.2f"%b)</pre>
这道题暂未补解析。