foo.c: In function 'main':
foo.c:6:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'printf'
6 | printf("输入三个整数:");
| ^~~~~~
foo.c:17:9: error: 'else' without a previous 'if'
17 | else {
| ^~~~
foo.c:18:25: error: 'c' undeclared (first use in this function)
18 | if (a < c) {
| ^
foo.c:18:25: note: each undeclared identifier is reported only once for each function it appears in
foo.c:19:61: error: expected ';' before '\U0000ff1b'
19 | if (b > c) printf("%d%d%d", b, c, a);
| ^~
| ;
foo.c:22:47: error: expected ';' before '\U0000ff1b'
22 | else printf("%d%d%d", b, a, c);
| ^~
| ;
foo.c:24:16: error: invalid suffix ";" on integer constant
24 | return 0;
| ^~~
foo.c:24:19: error: expected ';' before '}' token
24 | return 0;
| ^
| ;
25 | }
| ~
[Hydro](https://hydro.ac)提供评测服务