foo.c: In function 'main':
foo.c:28:17: warning: implicit declaration of function 'FindiMaxNeg'; did you mean 'FindMaxNeg'? [-Wimplicit-function-declaration]
28 | printf("%d %d",FindiMaxNeg(a,n1),FindiMaxNeg(b,n2));
| ^~~~~~~~~~~
| FindMaxNeg
foo.c:23:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
23 | scanf("%d%d",&n1,&n2);
| ^~~~~~~~~~~~~~~~~~~~~
foo.c:25:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
25 | scanf("%d",&a[j]);
| ^~~~~~~~~~~~~~~~~
foo.c:27:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
27 | scanf("%d",&b[j]);
| ^~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccJBuqkm.o: in function `main':
foo.c:(.text.startup+0xd2): undefined reference to `FindiMaxNeg'
/usr/bin/ld: foo.c:(.text.startup+0xe3): undefined reference to `FindiMaxNeg'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务