Run ID:84222
提交时间:2024-07-15 14:27:45
x=float(input()) if 0<=x<5: y=(-1)*x+2.5 elif x<10: y=2-1.5*(x-3)*2 elif x<20: y=x/2-1.5 print(f"{y:.3f}")