提交时间:2024-12-21 10:59:30

运行 ID: 2728

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