记录详情

Compile Error

/in/foo.cc: In function 'int InterSet(int*, int, int*, int, int*, int, int*)':
/in/foo.cc:36:17: error: 'na' was not declared in this scope
  for(int i=0; i<na; i++)
                 ^~
/in/foo.cc:38:16: error: 'b' was not declared in this scope
   int k=Search(b,nb, a[i]);
                ^
/in/foo.cc:38:18: error: 'nb' was not declared in this scope
   int k=Search(b,nb, a[i]);
                  ^~
/in/foo.cc:38: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:54:15: error: expected primary-expression before 'int'
  nc=InterSet( int a1[],int na1,int c[]);
               ^~~
/in/foo.cc:54:24: error: expected primary-expression before 'int'
  nc=InterSet( int a1[],int na1,int c[]);
                        ^~~
/in/foo.cc:54:32: error: expected primary-expression before 'int'
  nc=InterSet( int a1[],int na1,int c[]);
                                ^~~
/in/foo.cc:55:15: error: expected primary-expression before 'int'
  nc=InterSet( int a2[],int na2,int c[]);
               ^~~
/in/foo.cc:55:24: error: expected primary-expression before 'int'
  nc=InterSet( int a2[],int na2,int c[]);
                        ^~~
/in/foo.cc:55:32: error: expected primary-expression before 'int'
  nc=InterSet( int a2[],int na2,int c[]);
                                ^~~
/in/foo.cc:56:15: error: expected primary-expression before 'int'
  nc=InterSet( int a3[],int na3,int c[]);
               ^~~
/in/foo.cc:56:24: error: expected primary-expression before 'int'
  nc=InterSet( int a3[],int na3,int c[]);
                        ^~~
/in/foo.cc:56:32: error: expected primary-expression before 'int'
  nc=InterSet( int a3[],int na3,int c[]);
                                ^~~

信息

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