Problem | stonk |
---|---|
User | Henries |
Submission Time | 2024-10-22 22:18:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stonk.cpp: In function ‘int main()’:
stonk.cpp:33:86: error: no matching function for call to ‘std::priority_queue<std::pair<long long int, long long int>, std::vector<std::pair<long long int, long long int> > >::priority_queue(bool (&)(std::pair<long long int, long long int>, std::pair<long long int, long long int>))’
33 | priority_queue<pair<long long,long long> , vector<pair<long long,long long>>> pq(cmp);
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from stonk.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:584:2: note: candidate: ‘template<class _InputIterator> std::priority_queue<_Tp, _Sequence, _Compare>::priority_queue(_InputIterator, _InputIterator, const _Compare&, _Sequence&&)’
584 | prio