记录详情

Compile Error

/in/foo.cc:41:7: error: extra qualification 'LinkStack::' on member 'isEmpty' [-fpermissive]
  bool LinkStack::isEmpty()
       ^~~~~~~~~
/in/foo.cc:52:3: error: extra qualification 'SeqStack::' on member 'SeqStack' [-fpermissive]
   SeqStack::SeqStack()
   ^~~~~~~~
/in/foo.cc:57:2: error: extra qualification 'SeqStack::' on member 'SeqStack' [-fpermissive]
  SeqStack::~SeqStack()
  ^~~~~~~~
/in/foo.cc:61:7: error: extra qualification 'SeqStack::' on member 'push' [-fpermissive]
  void SeqStack::push(int x)
       ^~~~~~~~
/in/foo.cc:66:6: error: extra qualification 'SeqStack::' on member 'pop' [-fpermissive]
  int SeqStack::pop()
      ^~~~~~~~
/in/foo.cc:71:7: error: extra qualification 'SeqStack::' on member 'isEmpty' [-fpermissive]
  bool SeqStack::isEmpty()
       ^~~~~~~~

信息

递交者
类型
自测
题目
DS2-1 括号的匹配
语言
C++
递交时间
2019-04-06 10:38:32
评测时间
2019-04-06 10:38:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes