Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151039 李吴凡 08打车费用 Python3 Wrong Answer 42 MS 3772 KB 211 2026-04-03 20:07:43

Tests(9/10):


Code:

n = int(input()) ans = 0 if n <= 2: ans = 6 elif n <= 10: ans = 6 + (n - 2) * 1.8 else: ans = 6 + 8 * 1.8 + (n - 10) * 2.7 if int(ans) == ans: print(int(ans)) else: print(round(ans, 1))


Run Info:

------Input------
68
------Answer-----
177
------Your output-----
177.0