foo.c: In function 'main':
foo.c:8:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
8 | scanf("%d %d",min,max);
| ~^ ~~~
| | |
| int * int
foo.c:8:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
8 | scanf("%d %d",min,max);
| ~^ ~~~
| | |
| int * int
foo.c:12:24: error: expected ';' before '}' token
12 | {num1++}
| ^
| ;
foo.c:14:24: error: expected ';' before '}' token
14 | {num1++}
| ^
| ;
foo.c:16:24: error: expected ';' before '}' token
16 | {num1++}
| ^
| ;
foo.c:18:24: error: expected ';' before '}' token
18 | {num1++}
| ^
| ;
foo.c:20:24: error: expected ';' before '}' token
20 | {num1++}
| ^
| ;
foo.c:22:24: error: expected ';' before '}' token
22 | {num1++}
| ^
| ;
foo.c:24:24: error: expected ';' before '}' token
24 | {num1++}
| ^
| ;
foo.c:26:18: error: 'countine' undeclared (first use in this function)
26 | {countine;}
| ^~~~~~~~
foo.c:26:18: note: each undeclared identifier is reported only once for each function it appears in
[Hydro](https://hydro.ac)提供评测服务