记录详情

Accepted

/in/foo.c: In function 'MergeSubs':
/in/foo.c:28:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(a[i]>a[i+1])
     ^
/in/foo.c: In function 'main':
/in/foo.c:47:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=0;i<n2;i++)
     ^~~
/in/foo.c:49:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  MergeSubs(a1,n1);
  ^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 248.0 KiB
#2 Accepted 1ms 212.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 1ms 208.0 KiB
#5 Accepted 0ms 200.0 KiB

信息

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