| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 70114 | sh25_wangtaojie | 计算多项式的值 | C++ | Accepted | 0 MS | 260 KB | 318 | 2025-10-17 14:54:42 |
#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main() { double x, a, b, c, d; cin >> x >> a >> b >> c >> d; double result = a * pow(x, 3) + b * pow(x, 2) + c * x + d; cout << fixed << setprecision(7) << result << endl; return 0; }