Run ID:97921

提交时间: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)