Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135752 孔声豪 06计算f(x)的值 C++ Compile Error 0 MS 0 KB 230 2025-11-08 12:53:26

Tests(0/0):


Code:

#include <iostream> #include <iomanip> using namespace std; int main() { double x, a, b, c, d; cin >> x >> a >> b >> c >> d; double e; e=a*x*x*x+b*x*x+c*x+d; cout <<fixed<<setprecision(5)<<e<<endl; return 0; ]


Run Info:

Main.cc: In function 'int main()':
Main.cc:11:1: error: expected primary-expression before ']' token
 ]
 ^
Main.cc:11:1: error: expected '}' at end of input