| Problem | lunchbox |
|---|---|
| User | G |
| Submission Time | 2024-12-09 15:03:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:10:6: error: request for member ‘push’ in ‘pq’, which is of non-class type ‘std::priority_queue<long long int>(ll, std::vector<long long int, std::allocator<long long int> >, std::greater<long long int>)’ {aka ‘std::priority_queue<long long int>(long long int, std::vector<long long int, std::allocator<long long int> >, std::greater<long long int>)’}
10 | pq.push(a);
| ^~~~
lunchbox.cpp:14:9: error: request for member ‘top’ in ‘pq’, which is of non-class type ‘std::priority_queue<long long int>(ll, std::vector<long long int, std::allocator<long long int> >, std::greater<long long int>)’ {aka ‘std::priority_queue<long long int>(long long int, std::vector<long long int, std::allocator<long long int> >, std::greater<long long int>)’}
14 | n-=pq.top();
| ^~~
lunchbox.cpp:15:6: error: reque