Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
15594 | jiabokai | 计算多项式的值 | C++ | 通过 | 0 MS | 244 KB | 189 | 2023-04-24 19:11:31 |
using namespace std; int main() { double x,a,b,c,d; cin>>x>>a>>b>>c>>d; double f; f=a*x*x*x+b*x*x+c*x+d; cout<<fixed<<setprecision(7)<<f; return 0; }
exit code: 0, checker exit code: 0