foo.c: In function 'FindMinPos':
foo.c:4:10: warning: variable 'j' set but not used [-Wunused-but-set-variable]
4 | int t,i,j,k;
| ^
foo.c: In function 'main':
foo.c:37:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
37 | scanf("%d %d\n",&n1,&n2);
| ^~~~~~~~~~~~~~~~~~~~~~~~
foo.c:40:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
40 | scanf("%d",&a[i]);
| ^~~~~~~~~~~~~~~~~
foo.c:44:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
44 | scanf("%d",&b[i]);
| ^~~~~~~~~~~~~~~~~
foo.c: In function 'FindMinPos':
foo.c:20:6: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
20 | if(s[i]<t)
| ^
[Hydro](https://hydro.ac)提供评测服务