foo.c: In function 'main':
foo.c:15:2: warning: implicit declaration of function 'FindiMinPos'; did you mean 'FindMinPos'? [-Wimplicit-function-declaration]
15 | FindiMinPos(a,n1);FindiMinPos(b,n2);
| ^~~~~~~~~~~
| FindMinPos
foo.c: In function 'input':
foo.c:4:18: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
4 | for(i=0;i<n;i++)scanf("%d",&a[i]);}
| ^~~~~~~~~~~~~~~~~
foo.c: In function 'main':
foo.c:13:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d %d",&n1 ,&n2);
| ^~~~~~~~~~~~~~~~~~~~~~~
foo.c: In function 'FindMinPos':
foo.c:9:5: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
9 | if(min>a[i]&&a[i]>0){min=a[i];j=i;}
| ^
/usr/bin/ld: /tmp/ccBAl0C6.o: in function `main':
foo.c:(.text.startup+0xb0): undefined reference to `FindiMinPos'
/usr/bin/ld: foo.c:(.text.startup+0xbe): undefined reference to `FindiMinPos'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务