Problem eatingparallelograms
User ye
Submission Time 2025-06-20 13:52:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eatingparallelograms.cpp: In function ‘int main()’:
eatingparallelograms.cpp:13:16: error: ‘o’ was not declared in this scope
13 | for (int i=o;i<n;i++){
| ^
eatingparallelograms.cpp:16:22: error: expected primary-expression before ‘;’ token
16 | for (int i=0;i<n<;i++){
| ^
eatingparallelograms.cpp:17:12: error: ‘class std::priority_queue<std::pair<int, int> >’ has no member named ‘insert’
17 | st.insert(arrP[i],arrS[i])
| ^~~~~~