foo.c: In function 'FindiSecondMax':
foo.c:30:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
30 | for(k=jmax1+1;k<n;k++)
| ^~~
foo.c:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
33 | return jmax2;
| ^~~~~~
foo.c:5:20: warning: variable 'max2' set but not used [-Wunused-but-set-variable]
5 | int i,j,k,max1,max2,jmax1,jmax2;
| ^~~~
foo.c:5:9: warning: unused variable 'i' [-Wunused-variable]
5 | int i,j,k,max1,max2,jmax1,jmax2;
| ^
[Hydro](https://hydro.ac)提供评测服务