| Problem | bananasmoothie |
|---|---|
| User | MegaG |
| Submission Time | 2025-11-05 09:22:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bananasmoothie.cpp:6:8: error: cannot declare ‘::main’ to be a global variable
6 | signed main{
| ^~~~
bananasmoothie.cpp:7:34: error: expected ‘}’ before ‘;’ token
7 | ios_base::sync_with_stdio(false);
| ^
bananasmoothie.cpp:6:12: note: to match this ‘{’
6 | signed main{
| ^
bananasmoothie.cpp:8:2: error: ‘cin’ does not name a type
8 | cin.tie(0);
| ^~~
bananasmoothie.cpp:9:2: error: ‘cout’ does not name a type
9 | cout.tie(0);
| ^~~~
bananasmoothie.cpp:13:2: error: ‘cin’ does not name a type
13 | cin >> n >> k;
| ^~~
bananasmoothie.cpp:15:2: error: ‘prioity_queue’ does not name a type
15 | prioity_queue<int> pq;
| ^~~~~~~~~~~~~
bananasmoothie.cpp:16:2: error: expected unqualified-id before ‘for’
16 | for(int i = 0; i < n; i++){
| ^~~
bananasmoothie.cpp:16: