0_0_36681790_8526.cpp:14:16: error: conflicting declaration 'std::vector<node> F [2]'
vector<node>F[2];
^
0_0_36681790_8526.cpp:13:13: note: previous declaration as 'std::vector<node> F'
vector<node>F;
^
0_0_36681790_8526.cpp: In function 'int main()':
0_0_36681790_8526.cpp:25:8: error: '__gnu_cxx::__alloc_traits<std::allocator<node> >::value_type' has no member named 'clear'
F[0].clear();
^
0_0_36681790_8526.cpp:26:10: error: '__gnu_cxx::__alloc_traits<std::allocator<node> >::value_type' has no member named 'push_back'
F[Now].push_back(node {1,1});
^
0_0_36681790_8526.cpp:29:4: error: 'q' was not declared in this scope
q.clear();
^
0_0_36681790_8526.cpp:30:11: error: '__gnu_cxx::__alloc_traits<std::allocator<node> >::value_type' has no member named 'clear'
F[Now].clear();
^
0_0_36681790_8526.cpp:39:18: error: '__gnu_cxx::__alloc_traits<std::allocator<node> >::value_type' has no member named 'size'
tot1=F[Now^1].size();
^
0_0_36681790_8526.cpp:43:27: error: no match for 'operator[]' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<node> >::value_type {aka node}' and 'int')
while(p<tot1&&F[Now^1][p].y<q[j].x)p++;
^
0_0_36681790_8526.cpp:44:25: error: no match for 'operator[]' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<node> >::value_type {aka node}' and 'int')
if(p==tot1||F[Now^1][p].x>q[j].y)continue;
^
0_0_36681790_8526.cpp:45:19: error: no match for 'operator[]' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<node> >::value_type {aka node}' and 'int')
l=max(F[Now^1][p].x,q[j].x);
^
0_0_36681790_8526.cpp:47:12: error: '__gnu_cxx::__alloc_traits<std::allocator<node> >::value_type' has no member named 'push_back'
F[Now].push_back(node {l,r});
^
|