foo.cc: In function 'int main()':
foo.cc:7:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a>b);
^~
foo.cc:8:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
foo.cc:13:6: warning: self-comparison always evaluates to false [-Wtautological-compare]
if(a>a);
~^~
foo.cc:13:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a>a);
^~
foo.cc:14:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
foo.cc:19:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(b>c);
^~
foo.cc:20:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
[Hydro](https://hydro.ac)提供评测服务