记录详情

Compile Error

/in/foo.cc:13:1: error: expected ';' after class definition
 }
 ^
/in/foo.cc: In member function 'void SeqList::CreateList(int)':
/in/foo.cc:18:4: error: 'head' was not declared in this scope
  p=head;
    ^~~~
/in/foo.cc: In member function 'void SeqList::Delete(int)':
/in/foo.cc:33:4: error: 'head' was not declared in this scope
  p=head;
    ^~~~
/in/foo.cc:51:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
   return x;
          ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:57:10: warning: unused variable 'S' [-Wunused-variable]
  SeqList S;
          ^

信息

递交者
类型
自测
题目
P1014 OO3-1 无序顺序表类的基本运算
语言
C++
递交时间
2019-09-23 11:26:13
评测时间
2019-09-23 11:26:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes