Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
119489 | 吴梓玄 | 06计算f(x)的值 | C++ | Wrong Answer | 1 MS | 272 KB | 168 | 2025-05-17 16:54:39 |
#include <bits/stdc++.h> using namespace std; int main() { float x,a,b,c,d,s=0; cin>>x>>a>>b>>c>>d; s=a*x*x*x+b*x*x+c*x+d; printf("%.5f",s); return 0; }
------Input------
2.8 3.2 4.2 6.6 4.4
------Answer-----
126.05440
------Your output-----
126.05439