Problem | lunchbox |
---|---|
User | wenhao |
Submission Time | 2025-06-18 15:24:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:18: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’
18 | while (!pq.empty and pq.top() <= N){
| ^~~~~
lunchbox.cpp:18:13: error: in argument to unary !