Problem | lunchbox |
---|---|
User | SY |
Submission Time | 2025-06-18 15:04:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:15:13: error: cannot convert ‘std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >::empty’ from type ‘bool (std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >::)() const’ to type ‘bool’
15 | while (!pq.empty) {
| ^~~~~
lunchbox.cpp:15:13: error: in argument to unary !