提交时间:2024-11-09 22:40:12

运行 ID: 56256

#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c,d,x; cin>>x>>a>>b>>c>>d; double result=a*x*x*x+b*x*x+c*x+d; cout<<fixed<<setprecision(7)<<result<<endl; return 0; }