Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
36730 赵孚之 2023经开区信息技术合格性考试-1 Python3 通过 100 40 MS 4468 KB 168 2024-01-04 14:43:54

Tests(8/8):


a = int(input()) if a >= 2000 and a<3000: b=a *0.8 elif a >= 3000 and a<4000: b=a *0.7 elif a >= 4000: b=a *0.6 else: b = a b = float(b) print('%.1f'%b)


测评信息: