Run ID:77982

提交时间:2024-06-15 19:18:11

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