foo.cc: In function 'int main()':
foo.cc:7:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(a>b>c);
~^~
foo.cc:7:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a>b>c);
^~
foo.cc:8:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
foo.cc:11:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(a>c>b);
~^~
foo.cc:11:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a>c>b);
^~
foo.cc:12:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
foo.cc:15:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(b>c>a);
~^~
foo.cc:15:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(b>c>a);
^~
foo.cc:16:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
foo.cc:19:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(b>a>c);
~^~
foo.cc:19:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(b>a>c);
^~
foo.cc:20:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
foo.cc:23:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(c>b>a);
~^~
foo.cc:23:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(c>b>a);
^~
foo.cc:24:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
foo.cc:27:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(c>a>b);
~^~
foo.cc:27:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(c>a>b);
^~
foo.cc:28:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
{
^
[Hydro](https://hydro.ac)提供评测服务