Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
97921 | 徐盛熠 | 09优惠活动 | Python3 | Accepted | 37 MS | 3780 KB | 269 | 2024-11-16 20:21:59 |
c=input().split() a=c[0] b=c[1] b=int(b) if a=="P" : b="{:.2f}".format(b*0.7) print(b) elif a=="G": b="{:.2f}".format(b*0.8) print(b) elif a=="S": b="{:.2f}".format(b*0.90) print(b) else: b="{:.2f}".format(b*0.95) print(b)