| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 3259 | 罗炜翰 | 计算多项式的值 | C++ | Wrong Answer | 0 | 0 MS | 260 KB | 229 | 2024-12-22 17:47:52 |
#include<iostream> #include<iomanip> using namespace std; int main() { float a,b,c,d,x,f; cin>>x>>a>>b>>c>>d; f = (a * (x * x * x)) + (b * (x * x)) + (c * x) + d; cout<<setprecision(7)<<fixed<<f + 31; }