Problem defense101
User Henries
Submission Time 2024-10-18 18:31:51
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 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 int, long long int> > >’:
defense101.cpp:3:137: 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,
| ^~~~~