Problem bananasmoothie
User MegaG
Submission Time 2025-11-05 09:23:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bananasmoothie.cpp: In function ‘int main()’:
bananasmoothie.cpp:14:2: error: ‘prioity_queue’ was not declared in this scope
14 | prioity_queue<int> pq;
| ^~~~~~~~~~~~~
bananasmoothie.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
bananasmoothie.cpp:14:16: note: in expansion of macro ‘int’
14 | prioity_queue<int> pq;
| ^~~
bananasmoothie.cpp:16:10: error: ‘pq’ was not declared in this scope
16 | cin >> pq[i];
| ^~
bananasmoothie.cpp:20:15: error: ‘pq’ was not declared in this scope
20 | smoothie += pq.top();
| ^~