/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:10:11: error: 'aiii' was not declared in this scope
 double y1=aiii+bii+ci+d;
           ^
foo.cpp:10:16: error: 'bii' was not declared in this scope
 double y1=aiii+bii+ci+d;
                ^
foo.cpp:10:20: error: 'ci' was not declared in this scope
 double y1=aiii+bii+ci+d;
                    ^
foo.cpp:11:11: error: 'ajjj' was not declared in this scope
 double y2=ajjj+bjj+cj+d;
           ^
foo.cpp:11:16: error: 'bjj' was not declared in this scope
 double y2=ajjj+bjj+cj+d;
                ^
foo.cpp:11:20: error: 'cj' was not declared in this scope
 double y2=ajjj+bjj+cj+d;
                    ^
foo.cpp:12:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
 if (y1>=0 && y2<=0||y1<=0 && y2>=0){
           ^

信息

递交者
类型
递交
题目
P1116 一元三次方程求解
语言
C++
递交时间
2015-10-07 17:34:46
评测时间
2015-10-07 17:34:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes