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