Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71273 刘珩宇 06计算f(x)的值 C++ Accepted 1 MS 272 KB 173 2024-04-21 15:49:35

Tests(10/10):


Code:

# include<iostream> # include<cstdio> using namespace std; int main(){ double a,b,c,d,x,q; cin>>x>>a>>b>>c>>d; q=a*x*x*x+b*x*x+c*x+d; printf("%.5lf",q); return 0; }