In file included from /usr/include/c++/10/queue:64,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from dango3.cpp:2:
/usr/include/c++/10/bits/stl_queue.h: In instantiation of 'class std::queue<std::vector<int>, int>':
dango3.cpp:32:24: required from here
/usr/include/c++/10/bits/stl_queue.h:132:67: error: 'int' is not a class, struct, or union type
132 | static_assert(is_same<_Tp, typename _Sequence::value_type>::value,
| ^~~~~
/usr/include/c++/10/bits/stl_queue.h:138:47: error: 'int' is not a class, struct, or union type
138 | typedef typename _Sequence::value_type value_type;
| ^~~~~~~~~~
/usr/include/c++/10/bits/stl_queue.h:139:46: error: 'int' is not a class, struct, or union type
139 | typedef typename _Sequence::reference reference;
| ^~~~~~~~~
/usr/include/c++/10/bits/stl_queue.h:140:51: error: 'int' is not a class, struct, or union type
140 | typedef typename _Sequence::const_reference const_reference;
| ^~~~~~~~~~~~~~~
/usr/include/c++/10/bits/stl_queue.h:141:46: error: 'int' is not a class, struct, or union type
141 | typedef typename _Sequence::size_type size_type;
| ^~~~~~~~~
dango3.cpp: In function 'void Solve(int, int)':
dango3.cpp:34:4: error: 'class std::queue<std::vector<int>, int>' has no member named 'push'
34 | q.push({v,m});
| ^~~~
dango3.cpp:37:19: error: 'class std::queue<std::vector<int>, int>' has no member named 'front'
37 | auto [g,sz] = q.front();
| ^~~~~
dango3.cpp:40:4: error: 'Answer' was not declared in this scope
40 | Answer(g);
| ^~~~~~
dango3.cpp:49:12: error: 'Query' was not declared in this scope
49 | int x = Query(g);
| ^~~~~
dango3.cpp:56:5: error: 'class std::queue<std::vector<int>, int>' has no member named 'push'
56 | q.push({g,m/2});
| ^~~~
dango3.cpp:57:5: error: 'class std::queue<std::vector<int>, int>' has no member named 'push'
57 | q.push({vs,(m+1)/2});
| ^~~~
In file included from /usr/include/c++/10/queue:64,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from dango3.cpp:2:
/usr/include/c++/10/bits/stl_queue.h: In instantiation of 'bool std::queue<_Tp, _Sequence>::empty() const [with _Tp = std::vector<int>; _Sequence = int]':
dango3.cpp:36:17: required from here
/usr/include/c++/10/bits/stl_queue.h:204:18: error: request for member 'empty' in '((const std::queue<std::vector<int>, int>*)this)->std::queue<std::vector<int>, int>::c', which is of non-class type 'const int'
204 | { return c.empty(); }
| ~~^~~~~
/usr/include/c++/10/bits/stl_queue.h: In instantiation of 'void std::queue<_Tp, _Sequence>::pop() [with _Tp = std::vector<int>; _Sequence = int]':
dango3.cpp:38:9: required from here
/usr/include/c++/10/bits/stl_queue.h:301:4: error: request for member 'pop_front' in '((std::queue<std::vector<int>, int>*)this)->std::queue<std::vector<int>, int>::c', which is of non-class type 'int'
301 | c.pop_front();
| ~~^~~~~~~~~