Problem | lostones |
---|---|
User | YSH2020 |
Submission Time | 2025-02-23 08:56:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lostones.cpp: In function ‘int main()’:
lostones.cpp:7:78: error: template argument 3 is invalid
7 | priority_queue<pair<int,int>, vector<pair<int,int>>, greater<pair<int,int>> pq;
| ^~
lostones.cpp:10:3: error: ‘pq’ was not declared in this scope
10 | pq.push({a, b});
| ^~
lostones.cpp:14:14: error: ‘pq’ was not declared in this scope
14 | auto tmp = pq.top();
| ^~