foo.c: In function 'main':
foo.c:16:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
16 | if(a>b>c){
| ~^~
foo.c:19:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
19 | if(b>a>c){
| ~^~
foo.c:22:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
22 | if(c>a>b){
| ~^~
foo.c:25:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
25 | if(a>c>b){
| ~^~
foo.c:27:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
27 | if(b>c>a){printf("%d %d %d",b,c,a);
| ~^~
foo.c:29:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
29 | if(c>b>a){
| ~^~
foo.c:8:13: warning: 'a' is used uninitialized [-Wuninitialized]
8 | int max=a;
| ^~~
foo.c:5:7: note: 'a' declared here
5 | int a;
| ^
[Hydro](https://hydro.ac)提供评测服务