记录详情

Accepted

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:47:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   47 |     for(int i=0;i<n2;i++)
      |     ^~~
foo.c:49:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   49 |         MergeSubs(a1,n1);
      |         ^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 204.0 KiB
#2 Accepted 1ms 284.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Accepted 2ms 204.0 KiB
#5 Accepted 2ms 284.0 KiB

信息

递交者
类型
递交
题目
A10-2 有序子序列的合并
比赛
2023 程序设计与基础(数组的世界)
语言
C
递交时间
2023-11-28 15:43:59
评测时间
2023-11-28 15:43:59
评测机
分数
100
总耗时
10ms
峰值内存
284.0 KiB