0_0_26554943_9708.cpp: In member function 'bool node::operator<(const node&)':
0_0_26554943_9708.cpp:23:10: error: 'pos' was not declared in this scope
return pos[l]<pos[a.l]||(pos[l]==pos[a.l]&&r<a.r);
^
0_0_26554943_9708.cpp: In function 'int main()':
0_0_26554943_9708.cpp:29:48: error: request for member 'clear' in 'tmp.std::vector<_Tp, _Alloc>::operator[]<int, std::allocator<int> >(((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}'
for(int i=1;i<maxn;i++) vec[i].clear(),tmp[i].clear();
^
0_0_26554943_9708.cpp:35:21: error: no match for 'operator[]' (operand types are 'std::vector<int> [1007]' and 'node')
for(int j=0;j<vec[a[i]].size();j++){
^
0_0_26554943_9708.cpp:36:12: error: no match for 'operator[]' (operand types are 'std::vector<int> [1007]' and 'node')
tmp[vec[a[i]][j]].push_back(i);
^
0_0_26554943_9708.cpp:42:18: error: 'm' was not declared in this scope
for(int i=1;i<=m;i++){
^
|