Problem | lunchbox |
---|---|
User | Manish |
Submission Time | 2024-06-19 15:41:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:15:12: error: invalid use of non-static member function ‘void std::priority_queue<_Tp, _Sequence, _Compare>::pop() [with _Tp = int; _Sequence = std::vector<int>; _Compare = std::greater<int>]’
15 | pq.pop;
| ~~~^~~
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from lunchbox.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:662:7: note: declared here
662 | pop()
| ^~~