foo.c: In function 'main':
foo.c:22:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
22 | for (i = 0; n != 0; i++)
| ^~~
foo.c:24:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
24 | int x = FindMin(a, i);
| ^~~
foo.c:24:21: warning: unused variable 'x' [-Wunused-variable]
24 | int x = FindMin(a, i);
| ^
foo.c:17:23: warning: unused variable 'xmin' [-Wunused-variable]
17 | int xmax = 0, xmin = 0;
| ^~~~
foo.c:17:13: warning: unused variable 'xmax' [-Wunused-variable]
17 | int xmax = 0, xmin = 0;
| ^~~~
[Hydro](https://hydro.ac)提供评测服务