Problem minimax
User PaNic
Submission Time 2023-09-13 21:35:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimax.cpp: In function ‘int main()’:
minimax.cpp:26:8: error: ‘std::tuple<int, int, int> <structured bindings>’ has incomplete type
26 | auto [w, x, p] = prim.top();
| ^~~~~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/queue:61,
from minimax.cpp:2:
/usr/include/c++/9/bits/stl_vector.h: In instantiation of ‘std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = std::tuple<int, int, int>; _Alloc = std::allocator<std::tuple<int, int, int> >]’:
/usr/include/c++/9/bits/stl_vector.h:484:7: required from ‘std::priority_queue<_Tp, _Sequence, _Compare>::priority_queue() [with _Seq = std::vector<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int> > >; _Requires = void; _Tp = std::tuple<int, int, int>; _Sequence = std::vector<std::tuple<int, int, int>, std::allocator<std::tuple<