foo.c: In function 'main':
foo.c:6:10: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
6 | x!=y!=z;
| ~^~~
foo.c:6:13: warning: statement with no effect [-Wunused-value]
6 | x!=y!=z;
| ~~~~^~~
foo.c:7:15: error: expected expression before '%' token
7 | scanf(%d%d%d,&x,&y,&z);
| ^
foo.c:8:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
8 | if(x>y>z)
| ~^~
foo.c:10:18: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
10 | else if(x>z>y)
| ~^~
foo.c:12:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
12 | else if (y>x>z)
| ~^~
foo.c:14:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
14 | else if (y>z>x)
| ~^~
foo.c:16:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
16 | else if (z>x>y)
| ~^~
foo.c:18:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
18 | else if (z>y>x)
| ~^~
foo.c:20:16: error: expected expression before '%' token
20 | printf(%d%d%dn,max,med,min);
| ^
foo.c:5:27: warning: variable 'min' set but not used [-Wunused-but-set-variable]
5 | int x,y,z,max,med,min;
| ^~~
foo.c:5:23: warning: variable 'med' set but not used [-Wunused-but-set-variable]
5 | int x,y,z,max,med,min;
| ^~~
foo.c:5:19: warning: variable 'max' set but not used [-Wunused-but-set-variable]
5 | int x,y,z,max,med,min;
| ^~~
[Hydro](https://hydro.ac)提供评测服务