提交时间:2023-12-10 10:49:17
运行 ID: 33557
#include <iostream> #include <iomanip> using namespace std; int main(){ double x, a, b, c, d, num; cin >> x >> a >> b >> c >> d; num = a * x * x * x + b * x * x + c * x + d; cout << fixed << setprecision(7) << num << endl; return 0; }