Problem | potatoqueue |
---|---|
User | yc |
Submission Time | 2025-05-29 18:11:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatoqueue.cpp: In function ‘void serve()’:
potatoqueue.cpp:22:10: error: ‘n’ was not declared in this scope
22 | int a = n.back();
| ^
potatoqueue.cpp:27:10: error: expected ‘)’ before ‘}’ token
27 | if (*it
| ~ ^
| )
28 |
29 | }
| ~
potatoqueue.cpp:29:1: error: expected primary-expression before ‘}’ token
29 | }
| ^
potatoqueue.cpp:30:17: error: a function-definition is not allowed here before ‘{’ token
30 | int query(int N){
| ^
potatoqueue.cpp:32:1: error: expected ‘}’ at end of input
32 | }
| ^
potatoqueue.cpp:21:13: note: to match this ‘{’
21 | void serve(){
| ^