Problem | stickytape |
---|---|
User | boaznumberd5555 |
Submission Time | 2024-12-16 15:44:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stickytape.cpp: In function ‘int main()’:
stickytape.cpp:15:27: error: ‘q1’ was not declared in this scope; did you mean ‘y1’?
15 | for(int i = 0; i<m; i++) q1.push_back(a[i]);
| ^~
| y1
stickytape.cpp:15:40: error: ‘a’ was not declared in this scope
15 | for(int i = 0; i<m; i++) q1.push_back(a[i]);
| ^
stickytape.cpp:16:77: error: template argument 3 is invalid
16 | priority_queue<pair<int,int>,vector<pair<int,int>>, greater<pair<int,int>> pq;
| ^~
stickytape.cpp:17:8: error: ‘q1’ was not declared in this scope; did you mean ‘y1’?
17 | while(q1.size()+q2.size() >1){
| ^~
| y1
stickytape.cpp:17:18: error: ‘q2’ was not declared in this scope
17 | while(q1.size()+q2.