Wrong Answer
foo.c: In function 'MergeSubs': foo.c:28:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 28 | if(a[i]>a[i+1]) | ^ foo.c: In function 'main': foo.c:49:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 49 | for(int i=0;i<n2;i++) | ^~~ foo.c:51:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 51 | MergeSubs(a1,n1); | ^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- A10-2 有序子序列的合并
- 比赛
- 2023 程序设计与基础(数组的世界)
- 语言
- C
- 递交时间
- 2023-11-28 15:14:32
- 评测时间
- 2023-11-28 15:14:32
- 评测机
- 分数
- 0
- 总耗时
- 10ms
- 峰值内存
- 284.0 KiB