Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75854 高楷伦 06计算f(x)的值 C++ Accepted 0 MS 268 KB 210 2024-05-31 16:56:04

Tests(10/10):


Code:

# include<iostream> # include<cstdio> # include<iomanip> using namespace std; int main(){ double x,a,b,c,d,C; cin>>x>>a>>b>>c>>d; C=a*x*x*x+b*x*x+c*x+d; cout<<fixed<<setprecision(5)<<C; return 0; }