Problem lunchbox
User claireau
Submission Time 2023-11-09 11:28:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:12:4: error: expected ‘(’ before ‘pq’
12 | if pq[m]<=N; {
| ^~
| (
lunchbox.cpp:15:2: error: ‘else’ without a previous ‘if’
15 | else pop front;{
| ^~~~
lunchbox.cpp:15:7: error: ‘pop’ was not declared in this scope; did you mean ‘pow’?
15 | else pop front;{
| ^~~
| pow
lunchbox.cpp:16:16: error: expected ‘;’ before ‘size’
16 | cout << pq size;
| ^~~~~
| ;