| Problem | bananasmoothie |
|---|---|
| User | MegaG |
| Submission Time | 2025-11-05 09:23:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bananasmoothie.cpp: In function ‘int main()’:
bananasmoothie.cpp:15:2: error: ‘prioity_queue’ was not declared in this scope
15 | prioity_queue<int> pq;
| ^~~~~~~~~~~~~
bananasmoothie.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
bananasmoothie.cpp:15:16: note: in expansion of macro ‘int’
15 | prioity_queue<int> pq;
| ^~~
bananasmoothie.cpp:17:10: error: ‘pq’ was not declared in this scope
17 | cin >> pq[i];
| ^~
bananasmoothie.cpp:20:21: error: ‘floor’ was not declared in this scope
20 | for(int i = 0; i < floor(n/k)*k; i++){
| ^~~~~
bananasmoothie.cpp:21:15: error: ‘pq’ was not declared in this scope
21 | smoothie += pq.top();
| ^~