Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
92952 Hope 08打车费用 Python3 Wrong Answer 38 MS 3764 KB 301 2024-10-07 11:04:15

Tests(1/10):


Code:

# s = input().split() # s = list(map(int, s)) s = int(input()) _print = print def print(num): _print("{:.1f}".format(num)) if s <= 2: print(6) else: if 2 <= s < 10: print((s - 2) * 1.8 + 6) else: print((s - 2) * 1.8 + 6 + ((s - 10) * 1.8) * 0.5)


Run Info:

------Input------
7
------Answer-----
15
------Your output-----
15.0