Problem | stonk |
---|---|
User | Henries |
Submission Time | 2024-10-22 11:24:35 |
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 stonk.cpp:1:
/usr/include/c++/9/bits/stl_queue.h: In instantiation of ‘class std::priority_queue<std::pair<long long int, long long int>, std::vector<long long int> >’:
stonk.cpp:3:117: 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,
| ^~~~~
stonk.cpp: In function ‘void solve(std::vector<long long int>, std::priority_queue<std::pair<long long int, long long int>, std::vector<long long int> >, long long int)’:
stonk.cpp:8:32: error: request for member ‘first’ in ‘pq.std::priority_queue<std::pair<long long in