记录详情

Compile Error

foo.c: In function 'Merge':
foo.c:32:14: warning: statement with no effect [-Wunused-value]
   32 |         for(i<n1) c[nc++]=a1[i++];
      |             ~^~~
foo.c:32:17: error: expected ';' before ')' token
   32 |         for(i<n1) c[nc++]=a1[i++];
      |                 ^
      |                 ;
foo.c:32:17: error: expected expression before ')' token
foo.c:34:14: warning: statement with no effect [-Wunused-value]
   34 |         for(j<n2) c[nc++]=a2[j++];
      |             ~^~~
foo.c:34:17: error: expected ';' before ')' token
   34 |         for(j<n2) c[nc++]=a2[j++];
      |                 ^
      |                 ;
foo.c:34:17: error: expected expression before ')' token
[Hydro](https://hydro.ac)提供评测服务

信息

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