| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 22016 | zhangchunhong | 计算多项式的值 | C++ | Compile Error | 0 MS | 0 KB | 200 | 2023-07-06 18:38:05 |
#include<iostream> #include<iomanip> using namespace std; int main() { float sum=0,a,b,c,d,x; cin>>a>>b>>c>d>>x; sum=a*x*x*x+b*x*x+c*x+d; cout<<fixed<<setprecision(7)<<sum; return 0; }