foo.cc: In function 'int main()':
foo.cc:10:14: error: 'b' was not declared in this scope
if(x==a*a*a+b*b*b+c*c*c);
^
foo.cc:10:20: error: 'c' was not declared in this scope
if(x==a*a*a+b*b*b+c*c*c);
^
foo.cc:10:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(x==a*a*a+b*b*b+c*c*c);
^~
foo.cc:11:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
foo.cc:14:2: error: 'else' without a previous 'if'
else
^~~~
[Hydro](https://hydro.ac)提供评测服务