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

Compile Error

bananasmoothie.cpp:5:8: error: cannot declare ‘::main’ to be a global variable
5 | signed main{
| ^~~~
bananasmoothie.cpp:6:34: error: expected ‘}’ before ‘;’ token
6 | ios_base::sync_with_stdio(false);
| ^
bananasmoothie.cpp:5:12: note: to match this ‘{’
5 | signed main{
| ^
bananasmoothie.cpp:7:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
7 | cin.tie(0);
| ^~~
| sin
bananasmoothie.cpp:8:2: error: ‘cout’ does not name a type
8 | cout.tie(0);
| ^~~~
bananasmoothie.cpp:12:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
12 | cin >> n >> k;
| ^~~
| sin
bananasmoothie.cpp:14:2: error: ‘prioity_queue’ does not name a type
14 | prioity_queue<int> pq;
| ^~~~~~~~~~~~~
bananasmoothie.cpp:15:2: error: expected unqualified-id before ‘for’
15 |