foo.c: In function 'FindMin':
foo.c:4:8: warning: unused variable 'j' [-Wunused-variable]
4 | int i,j,min=0;
| ^
foo.c: In function 'FindMinCount':
foo.c:14:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
14 | if(a[FindMin(a,n)]==a[j]);
| ^~
foo.c:15:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
15 | count++;
| ^~~~~
foo.c: In function 'main':
foo.c:23:3: 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[i]);
| ^~~~~~~~~~~~~~~~~
foo.c:27:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
27 | scanf("%d",&b[j]);
| ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务