Problem | defense101 |
---|---|
User | Henries |
Submission Time | 2024-10-18 19:54:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from defense101.cpp:1:
/usr/include/c++/9/bits/stl_queue.h: In instantiation of ‘class std::priority_queue<std::pair<long long unsigned int, long long int>, std::vector<std::pair<long long unsigned int, long long unsigned int> > >’:
defense101.cpp:26:105: 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,
| ^~~~~
defense101.cpp: In function ‘int main()’:
defense101.cpp:37:8: error: could not convert ‘pq’ from ‘priority_queue<pair<[...],long long int>,[...]>’ to ‘priority_queue<pair<[...],long long unsigned int>,[...]&