| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68182 | 胡海峰老师 | 08打车费用 | Python3 | Wrong Answer | 27 MS | 3760 KB | 142 | 2024-03-19 20:24:18 |
d = int(input()) if d<=2: cost = 6 elif d<= 10: cost = 6 + 1.8*(d-2) else: cost = 6 + 8*1.8 + (d-10)*1.8*1.5 print(cost)
------Input------
7
------Answer-----
15
------Your output-----
15.0