Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92954 | Hope | 08打车费用 | Python3 | Wrong Answer | 36 MS | 3756 KB | 198 | 2024-10-07 11:06:51 |
s = int(input()) _print = print if s <= 2: print(6) else: if 2 <= s < 10: print((s - 2) * 1.8 + 6) else: print((10 - 2) * 1.8 + 6 + ((s - 10) * 1.8) * 0.5)
------Input------
7
------Answer-----
15
------Your output-----
15.0