记录详情

Compile Error

/in/foo.c: In function 'Merge':
/in/foo.c:32:7: warning: statement with no effect [-Wunused-value]
  for(i<n1) c[nc++]=a1[i++];
      ~^~~
/in/foo.c:32:10: error: expected ';' before ')' token
  for(i<n1) c[nc++]=a1[i++];
          ^
/in/foo.c:32:10: error: expected expression before ')' token
/in/foo.c:34:7: warning: statement with no effect [-Wunused-value]
  for(j<n2) c[nc++]=a2[j++];
      ~^~~
/in/foo.c:34:10: error: expected ';' before ')' token
  for(j<n2) c[nc++]=a2[j++];
          ^
/in/foo.c:34:10: error: expected expression before ')' token

信息

递交者
类型
自测
题目
A10-1 有序数组的合并
语言
C
递交时间
2023-11-28 15:24:18
评测时间
2023-11-28 15:24:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes