Problem | eatingparallelograms |
---|---|
User | ye |
Submission Time | 2025-06-20 13:59:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eatingparallelograms.cpp: In function ‘int main()’:
eatingparallelograms.cpp:9:40: error: ‘lesser’ was not declared in this scope
9 | priority_queue<int, pair<int,int>, lesser<int>> st;
| ^~~~~~
eatingparallelograms.cpp:9:50: error: template argument 3 is invalid
9 | priority_queue<int, pair<int,int>, lesser<int>> st;
| ^~
eatingparallelograms.cpp:16:22: error: expected primary-expression before ‘;’ token
16 | for (int i=0;i<n<;i++){
| ^
eatingparallelograms.cpp:17:12: error: request for member ‘push’ in ‘st’, which is of non-class type ‘int’
17 | st.push(arrP[i],arrS[i]);
| ^~~~