记录详情

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:15: error: expected primary-expression before 'int'
  nc=InterSet( int a1[],int na1,int c[]);
               ^~~
/in/foo.cc:56:24: error: expected primary-expression before 'int'
  nc=InterSet( int a1[],int na1,int c[]);
                        ^~~
/in/foo.cc:56:32: error: expected primary-expression before 'int'
  nc=InterSet( int a1[],int na1,int c[]);
                                ^~~
/in/foo.cc:57:15: error: expected primary-expression before 'int'
  nc=InterSet( int a2[],int na2,int c[]);
               ^~~
/in/foo.cc:57:24: error: expected primary-expression before 'int'
  nc=InterSet( int a2[],int na2,int c[]);
                        ^~~
/in/foo.cc:57:32: error: expected primary-expression before 'int'
  nc=InterSet( int a2[],int na2,int c[]);
                                ^~~
/in/foo.cc:58:15: error: expected primary-expression before 'int'
  nc=InterSet( int a3[],int na3,int c[]);
               ^~~
/in/foo.cc:58:24: error: expected primary-expression before 'int'
  nc=InterSet( int a3[],int na3,int c[]);
                        ^~~
/in/foo.cc:58:32: error: expected primary-expression before 'int'
  nc=InterSet( int a3[],int na3,int c[]);
                                ^~~

信息

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