foo.c: In function 'main':
foo.c:9:20: warning: unused variable 'i' [-Wunused-variable]
int a[N],b[N],n,m,i,p,q;
^
foo.c:10:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^~~~~~~~~~~~~~~~~~~
foo.c: In function 'Input':
foo.c:23:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^~~~~~~~~~~~~~~~~
foo.c: In function 'FindiMinPos':
foo.c:40:9: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
return k;
^
[Hydro](https://hydro.ac)提供评测服务