foo.c: In function 'FindiMinPos':
foo.c:3:7: warning: variable 'min' set but not used [-Wunused-but-set-variable]
3 | { int min,m,j;
| ^~~
foo.c: In function 'main':
foo.c:25:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
25 | scanf("%d %d",&n1,&n2);
| ^~~~~~~~~~~~~~~~~~~~~~
foo.c:27:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
27 | scanf("%d",&a[i]);
| ^~~~~~~~~~~~~~~~~
foo.c:29:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
29 | scanf("%d",&b[i]);
| ^~~~~~~~~~~~~~~~~
foo.c: In function 'FindiMinPos':
foo.c:13:13: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
13 | { if(c[i]>0&&c[i]<m)
| ~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务