| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 3249 | 罗炜翰 | 计算多项式的值 | C++ | Wrong Answer | 0 | 1 MS | 264 KB | 242 | 2024-12-22 17:37:50 |
#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) * (a * x) * (a * x)) + ((b * x) * (b * x)) + (c * x) + d; cout<<setprecision(7)<<fixed<<f; }