Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
107969 胥博雯 06计算f(x)的值 C++ Compile Error 0 MS 0 KB 179 2025-01-19 10:00:17

Tests(0/0):


Code:

#include<iostream> #include<cstdio> using namespace std; int main(){ doudle x,a,b,c,d; cin>>x>>a>>b>>c>>d; printf("%.5lf",a*x*x*x+b*x*x+c*x+d); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:5: error: 'doudle' was not declared in this scope
     doudle x,a,b,c,d;
     ^
Main.cc:6:10: error: 'x' was not declared in this scope
     cin>>x>>a>>b>>c>>d;
          ^
Main.cc:6:13: error: 'a' was not declared in this scope
     cin>>x>>a>>b>>c>>d;
             ^
Main.cc:6:16: error: 'b' was not declared in this scope
     cin>>x>>a>>b>>c>>d;
                ^
Main.cc:6:19: error: 'c' was not declared in this scope
     cin>>x>>a>>b>>c>>d;
                   ^
Main.cc:6:22: error: 'd' was not declared in this scope
     cin>>x>>a>>b>>c>>d;
                      ^