Problem monsters
User Dynonychus
Submission Time 2024-01-08 21:11:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from monsters.cpp:1:
/usr/include/c++/9/bits/stl_queue.h: In instantiation of ‘class std::priority_queue<long long int, std::vector<std::vector<long long int> >, std::greater<long long int> >’:
monsters.cpp:87:58: required from here
/usr/include/c++/9/bits/stl_queue.h:467:67: error: static assertion failed: value_type must be the same as the underlying container
467 | static_assert(is_same<_Tp, typename _Sequence::value_type>::value,
| ^~~~~
monsters.cpp: In function ‘int main()’:
monsters.cpp:91:29: error: no matching function for call to ‘std::priority_queue<long long int, std::vector<std::vector<long long int> >, std::greater<long long int> >::push(long long int&)’
91 | p