foo.cc: In function 'int main()':
foo.cc:17:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
17 | if(c=='+')
| ^~
foo.cc:19:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
19 | e=x;
| ^
foo.cc:20:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
20 | if(c=='-')
| ^~
foo.cc:22:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
22 | e=x;
| ^
foo.cc:26:15: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
26 | cout<<e;
| ^
[Hydro](https://hydro.ac)提供评测服务