/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:6:5: error: 'ios_base' has not been declared
     ios_base::sync_with_stdio(0);
     ^
foo.cpp:8:5: error: 'cin' was not declared in this scope
     cin>>a>>b>>c>>d;
     ^
foo.cpp:14:35: error: 'abs' was not declared in this scope
         if(abs(a*x*x*x+b*x*x+c*x+d)<0.01)
                                   ^
foo.cpp:16:29: error: 'printf' was not declared in this scope
             printf("%.2f ",x);
                             ^

信息

递交者
类型
递交
题目
P1116 一元三次方程求解
语言
C++
递交时间
2016-12-23 19:48:58
评测时间
2016-12-23 19:48:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes