foo.c: In function 'Insert':
foo.c:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i = 0;i < n;i++)
^~~
foo.c:16:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
a[i] = k;
^
foo.c: In function 'main':
foo.c:25:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^~~~~~~~~~~~~~~
foo.c:27:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^~~~~~~~~~~~~~~~~~
foo.c:28:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务