记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:9: error: storage size of 'a1' isn't known
  int a1[],a2[],a3[];
         ^
/in/foo.cc:6:14: error: storage size of 'a2' isn't known
  int a1[],a2[],a3[];
              ^
/in/foo.cc:6:19: error: storage size of 'a3' isn't known
  int a1[],a2[],a3[];
                   ^
/in/foo.cc:7:12: error: redeclaration of 'int n2'
  int n1,n2,n2;
            ^~
/in/foo.cc:7:9: note: 'int n2' previously declared here
  int n1,n2,n2;
         ^~
/in/foo.cc:14:7: error: 'n3' was not declared in this scope
  cin>>n3;
       ^~
/in/foo.cc:17:22: error: 'SetInter' was not declared in this scope
  SetInter(a1,n1,a2,n2);
                      ^
/in/foo.cc: In function 'void SetInter(int*, int, int*, int)':
/in/foo.cc:28:11: error: 'array' was not declared in this scope
     cout<<array[i]
           ^~~~~

信息

递交者
类型
递交
题目
A10-4 集合的交集
比赛
数据结构课堂练习9-16
语言
C++
递交时间
2019-09-16 11:06:07
评测时间
2019-09-16 11:06:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes