foo.c: In function 'main':
foo.c:6:15: error: expected expression before '%' token
6 | scanf(%d%d%d,&x,&y,&z);
| ^
foo.c:7:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
7 | if(x>y>z)
| ~^~
foo.c:9:18: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
9 | else if(x>z>y)
| ~^~
foo.c:11:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
11 | else if (y>x>z)
| ~^~
foo.c:13:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
13 | else if (y>z>x)
| ~^~
foo.c:15:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
15 | else if (z>x>y)
| ~^~
foo.c:17:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
17 | else if (z>y>x)
| ~^~
foo.c:19:16: error: expected expression before '%' token
19 | 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)提供评测服务