foo.c: In function 'FindiMinPos':
foo.c:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
16 | if(c[i]>c[j]&&c[i]!=c[j])
| ^~
foo.c:17:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
17 | k=j;break;
| ^~~~~
foo.c: In function 'main':
foo.c:26:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
26 | scanf("%d%d",&n1,&n2);
| ^~~~~~~~~~~~~~~~~~~~~
foo.c:28:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
28 | scanf("%d",&a[i]);
| ^~~~~~~~~~~~~~~~~
foo.c:30:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
30 | scanf("%d",&b[j]);
| ^~~~~~~~~~~~~~~~~
foo.c: In function 'FindiMinPos':
foo.c:21:9: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
21 | return k;
| ^
[Hydro](https://hydro.ac)提供评测服务