题解 | #网购#
网购
https://www.nowcoder.com/practice/5d7dfd405e5f4e4fbfdff6862c46b751
price,month,day,discount = input().split()
price = float(price)
if (month == '11') and (day == '11'):
price *= 0.7
else:
price *= 0.8
if discount == '1':
price -= 50
if price < 0:
price = 0
print(f'{price:.2f}')
#python#
