foo.c: In function 'main':
foo.c:10:4: warning: implicit declaration of function 'FindiMinPos' [-Wimplicit-function-declaration]
10 | x=FindiMinPos(s1,n1);
| ^~~~~~~~~~~
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
5 | scanf("%d%d",&n1,&n2);
| ^~~~~~~~~~~~~~~~~~~~~
foo.c:7:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
7 | scanf("%d",&s1[i]);
| ^~~~~~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d",&s2[j]);
| ^~~~~~~~~~~~~~~~~~
foo.c: In function 'FindiMinPos':
foo.c:25:9: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
25 | return m;
| ^
[Hydro](https://hydro.ac)提供评测服务