foo.c: In function 'bubble':
foo.c:5:15: warning: unused variable 'j' [-Wunused-variable]
5 | int i,j;
| ^
foo.c: In function 'main':
foo.c:47:9: warning: 'min' may be used uninitialized [-Wmaybe-uninitialized]
47 | printf("%d",max-min);
| ^~~~~~~~~~~~~~~~~~~~
foo.c:39:13: note: 'min' was declared here
39 | int min,max;
| ^~~
foo.c:47:9: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
47 | printf("%d",max-min);
| ^~~~~~~~~~~~~~~~~~~~
foo.c:39:17: note: 'max' was declared here
39 | int min,max;
| ^~~
[Hydro](https://hydro.ac)提供评测服务