记录详情

Compile Error

/in/foo.cc:3:28: error: 'n' has not been declared
 void Merge(int a[],int b[],n,m)
                            ^
/in/foo.cc:3:30: error: 'm' has not been declared
 void Merge(int a[],int b[],n,m)
                              ^
/in/foo.cc: In function 'void Merge(int*, int*, int, int)':
/in/foo.cc:5:4: error: 'n' was not declared in this scope
  k=n+m;
    ^
/in/foo.cc:5:6: error: 'm' was not declared in this scope
  k=n+m;
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:37:7: error: expected primary-expression before ']' token
  if(a[]) 
       ^
/in/foo.cc:38:2: error: expected primary-expression before '}' token
  }
  ^
/in/foo.cc:49:29: error: 'n' has not been declared
  void Merge(int a[],int b[],n,m);
                             ^
/in/foo.cc:49:31: error: 'm' has not been declared
  void Merge(int a[],int b[],n,m);
                               ^

信息

递交者
类型
递交
题目
A10-1 有序数组的合并
比赛
中北数据结构课程赛事二:顺序表类的操作
语言
C++
递交时间
2019-03-10 20:00:50
评测时间
2019-03-10 20:00:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes