记录详情

Compile Error

/in/foo.cc: In member function 'int LCT::findroot(int)':
/in/foo.cc:66:18: error: request for member 'empty' in '((LCT*)this)->LCT::s', which is of non-class type 'bool [300030]'
         while(!s.empty())s.pop();
                  ^~~~~
/in/foo.cc:66:28: error: request for member 'pop' in '((LCT*)this)->LCT::s', which is of non-class type 'bool [300030]'
         while(!s.empty())s.pop();
                            ^~~
/in/foo.cc:68:15: error: request for member 'push' in '((LCT*)this)->LCT::s', which is of non-class type 'bool [300030]'
             s.push(t[t[o].fa].l==o);
               ^~~~
/in/foo.cc: In member function 'LCT::node LCT::split(int)':
/in/foo.cc:84:14: error: request for member 'empty' in '((LCT*)this)->LCT::s', which is of non-class type 'bool [300030]'
         if(s.empty()){
              ^~~~~
/in/foo.cc:91:18: error: request for member 'top' in '((LCT*)this)->LCT::s', which is of non-class type 'bool [300030]'
         bool d=s.top();
                  ^~~
/in/foo.cc:92:11: error: request for member 'pop' in '((LCT*)this)->LCT::s', which is of non-class type 'bool [300030]'
         s.pop();
           ^~~

信息

递交者
类型
递交
题目
Link-Cut-Tree模版题
语言
C++
递交时间
2018-01-08 10:39:21
评测时间
2018-01-08 10:39:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes