记录详情

Compile Error

/in/foo.cc:3:15: error: 'b' has not been declared
 int max(int a,b);
               ^
/in/foo.cc:5:1: error: 'clsss' does not name a type
 clsss SeqList{
 ^~~~~
/in/foo.cc:12:1: error: 'SeqList' does not name a type
 SeqList::SeqList(){
 ^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:2: error: 'SeqList' was not declared in this scope
  SeqList A,B;
  ^~~~~~~
/in/foo.cc:22:8: error: 'A' was not declared in this scope
   cin>>A.n[i];
        ^
/in/foo.cc:26:8: error: 'B' was not declared in this scope
   cin>>B.n[j];
        ^
/in/foo.cc:29:8: error: 'A' was not declared in this scope
    if (A.n[i] == B.n[j]&&A.n[i] > 0)
        ^
/in/foo.cc:29:18: error: 'B' was not declared in this scope
    if (A.n[i] == B.n[j]&&A.n[i] > 0)
                  ^

信息

递交者
类型
自测
题目
P1015 OO3-2 无序顺序表类的集合运算
语言
C++
递交时间
2021-06-22 11:54:58
评测时间
2021-06-22 11:54:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes