Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
92951 Hope 08打车费用 Python3 Wrong Answer 41 MS 3752 KB 180 2024-10-07 11:02:23

Tests(1/10):


Code:

s = int(input()) 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