foo.c: In function 'main':
foo.c:15:9: warning: spurious trailing '%' in format [-Wformat=]
15 | scanf("%",&n);
| ^
foo.c:15:8: warning: too many arguments for format [-Wformat-extra-args]
15 | scanf("%",&n);
| ^~~
foo.c:18:24: error: expected expression before ',' token
18 | printf("%d\n",FindMin(,n));
| ^
foo.c:15:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
15 | scanf("%",&n);
| ^~~~~~~~~~~~~
foo.c:17:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf("%d",&a[i]);
| ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务