Accepted
foo.c: In function 'Insert': foo.c:10:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 10 | for (i = 0; i < n; i++) | ^~~ foo.c:15:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 15 | for (i = n - 1; i >= j; i--) | ^~~ foo.c:17:18: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 17 | a[j] = x; | ^ foo.c:9:15: note: 'j' was declared here 9 | int i,j; | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 比赛
- 2023 程序设计与基础(单个的数组)
- 语言
- C
- 递交时间
- 2023-11-21 14:45:38
- 评测时间
- 2023-11-21 14:45:38
- 评测机
- 分数
- 100
- 总耗时
- 10ms
- 峰值内存
- 284.0 KiB