记录详情

Compile Error

/in/foo.cc: In function 'int InterSet(int*, int, int*, int, int*, int, int*)':
/in/foo.cc:38:17: error: 'na' was not declared in this scope
  for(int i=0; i<na; i++)
                 ^~
/in/foo.cc:40:16: error: 'b' was not declared in this scope
   int k=Search(b,nb, a[i]);
                ^
/in/foo.cc:40:18: error: 'nb' was not declared in this scope
   int k=Search(b,nb, a[i]);
                  ^~
/in/foo.cc:40:22: error: 'a' was not declared in this scope
   int k=Search(b,nb, a[i]);
                      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:56:18: error: expected primary-expression before 'int'
  nc=InterSet( a1,int n1,int c[]);
                  ^~~
/in/foo.cc:56:25: error: expected primary-expression before 'int'
  nc=InterSet( a1,int n1,int c[]);
                         ^~~
/in/foo.cc:57:18: error: expected primary-expression before 'int'
  nc=InterSet( a2,int n2,int c[]);
                  ^~~
/in/foo.cc:57:25: error: expected primary-expression before 'int'
  nc=InterSet( a2,int n2,int c[]);
                         ^~~
/in/foo.cc:58:18: error: expected primary-expression before 'int'
  nc=InterSet( a3,int n3,int c[]);
                  ^~~
/in/foo.cc:58:25: error: expected primary-expression before 'int'
  nc=InterSet( a3,int n3,int c[]);
                         ^~~

信息

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