Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
98011 | 张泽一 | 09优惠活动 | Python3 | Accepted | 36 MS | 3776 KB | 197 | 2024-11-17 10:48:29 |
s=input().split() a=ord(s[0]) b=int(s[1]) if a==ord('P'): b=b/10*7 elif a==ord('G'): b=b/10*8 elif a==ord('S'): b=b/10*9 else: b=b/10*9.5 ss="{:.2f}".format(b) print(ss)