Problem | eatingparallelograms |
---|---|
User | jambusk |
Submission Time | 2025-06-20 15:23:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eatingparallelograms.cpp: In function ‘int main()’:
eatingparallelograms.cpp:14:6: error: request for member ‘push’ in ‘pq’, which is of non-class type ‘std::priority_queue<std::pair<long long int, long long int> >()’
14 | pq.push.first(a);
| ^~~~
eatingparallelograms.cpp:18:6: error: request for member ‘push’ in ‘pq’, which is of non-class type ‘std::priority_queue<std::pair<long long int, long long int> >()’
18 | pq.push.second(b);
| ^~~~
eatingparallelograms.cpp:21:13: error: request for member ‘top’ in ‘pq’, which is of non-class type ‘std::priority_queue<std::pair<long long int, long long int> >()’
21 | cout << pq.top();
| ^~~