记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:53:29: error: too few arguments to function 'int SetInter(int*, int, int*, int, int*)'
  a4[10]=SetInter(a1,n1,a2,n2);
                             ^
/in/foo.cc:22:5: note: declared here
 int SetInter(int a[],int na,int b[],int nb,int c[])
     ^~~~~~~~
/in/foo.cc:54:26: error: 'nc' was not declared in this scope
  cout<<SetInter(a3,n3,a4,nc);
                          ^~
/in/foo.cc:51:6: warning: unused variable 'n4' [-Wunused-variable]
  int n4,a4[10];
      ^~

信息

递交者
类型
自测
语言
C++
递交时间
2024-11-25 17:44:39
评测时间
2024-11-25 17:44:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes