foo.cc: In function 'int main()':
foo.cc:8:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
8 | if(a>b>c)
| ~^~
foo.cc:8:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
8 | if(a>b>c)
| ^~
foo.cc:9:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
9 | z=b;d=a;
| ^
foo.cc:10:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
10 | if(a>c>b)
| ~^~
foo.cc:10:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
10 | if(a>c>b)
| ^~
foo.cc:11:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
11 | z=c;d=a;
| ^
foo.cc:12:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
12 | if(b>a>c)
| ~^~
foo.cc:12:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
12 | if(b>a>c)
| ^~
foo.cc:13:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
13 | z=a;d=b;
| ^
foo.cc:14:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
14 | if(b>c>a)
| ~^~
foo.cc:14:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
14 | if(b>c>a)
| ^~
foo.cc:15:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
15 | z=c;d=b;
| ^
foo.cc:16:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
16 | if(c>a>b)
| ~^~
foo.cc:16:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
16 | if(c>a>b)
| ^~
foo.cc:17:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
17 | z=a;d=c;
| ^
foo.cc:18:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
18 | if(c>b>a)
| ~^~
foo.cc:18:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
18 | if(c>b>a)
| ^~
foo.cc:19:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
19 | z=b;d=c;
| ^
foo.cc:20:8: warning: 'z' may be used uninitialized in this function [-Wmaybe-uninitialized]
20 | cout<<z<<d;
| ^
[Hydro](https://hydro.ac)提供评测服务