Problem | lunchbox |
---|---|
User | claireau |
Submission Time | 2023-11-09 11:32:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:16:13: error: expected ‘;’ before ‘)’ token
16 | for (pq[m]>N)
| ^
| ;
lunchbox.cpp:20:2: error: expected primary-expression before ‘else’
20 | else if pq.pop_front;{
| ^~~~
lunchbox.cpp:19:4: error: expected ‘;’ before ‘else’
19 | }
| ^
| ;
20 | else if pq.pop_front;{
| ~~~~
lunchbox.cpp:20:2: error: expected primary-expression before ‘else’
20 | else if pq.pop_front;{
| ^~~~
lunchbox.cpp:19:4: error: expected ‘)’ before ‘else’
19 | }
| ^
| )
20 | else if pq.pop_front;{
| ~~~~
lunchbox.cpp:16:5: note: to match this ‘(’
16 | for (pq[m]>N)
| ^
lunchbox.cpp:20:2: error: expected primary-expression before ‘else’
20 | else if pq.pop_front;{
| ^~~~
lunchbox.cpp:21:16: error: expected ‘;’ before ‘s