foo.c: In function 'main':
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^~~~~~~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c[i]);
^~~~~~~~~~~~~~~~~
foo.c:11:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d[i]);
^~~~~~~~~~~~~~~~~
foo.c: In function 'FindiMinPos':
foo.c:20:8: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,cnt,min;
^~~
foo.c:32:12: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]>0&&a[i]<min)
~~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务