Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
97919 | 徐盛熠 | 09优惠活动 | Python3 | Wrong Answer | 38 MS | 3756 KB | 279 | 2024-11-16 20:20:21 |
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) elif a=="K" : b="{:.2f}".format(b*0.95) print(b)
------Input------
C 100
------Answer-----
95.00
------Your output-----