foo.c: In function 'main':
foo.c:6:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n1,&n2);
^~~~~~~~~~~~~~~~~~~~~~~~
foo.c:9:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^~~~~~~~~~~~~~~~~
foo.c:11:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i]);
^~~~~~~~~~~~~~~~~
/tmp/cczJpcmC.o: In function `main':
foo.c:(.text.startup+0xb0): undefined reference to `FindiMinPos'
foo.c:(.text.startup+0xbe): undefined reference to `FindiMinPos'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务