Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
92291 徐盛熠 06计算f(x)的值 Python3 Accepted 47 MS 3760 KB 188 2024-09-28 19:53:26

Tests(10/10):


Code:

c=input().split() a=c[1] b=c[2] x=c[0] d=c[4] n=c[3] b=float(b) a=float(a) x=float(x) d=float(d) n=float(n) w=a*(x*x*x)+b*(x*x)+n*x+d w="{:.5f}".format(w) print(w)