Problem eatingparallelograms
User omesh123
Submission Time 2025-06-20 14:52:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eatingparallelograms.cpp: In function ‘int main()’:
eatingparallelograms.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> n;
| ^~~
eatingparallelograms.cpp:5:5: error: ‘priority_queue’ was not declared in this scope
5 | priority_queue<int>pq;
| ^~~~~~~~~~~~~~
eatingparallelograms.cpp:5:20: error: expected primary-expression before ‘int’
5 | priority_queue<int>pq;
| ^~~
eatingparallelograms.cpp:10:9: error: ‘pq’ was not declared in this scope
10 | pq.push(x);
| ^~