Problem | tickethandling |
---|---|
User | penguin133 |
Submission Time | 2023-12-13 09:12:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
tickethandling.cpp: In function ‘int main()’:
tickethandling.cpp:12:20: error: ‘rptr’ was not declared in this scope; did you mean ‘rptr2’?
12 | if(x == 1)arr[++rptr] = y;
| ^~~~
| rptr2
tickethandling.cpp:17:12: error: ‘lptr’ was not declared in this scope; did you mean ‘lptr2’?
17 | else if(lptr <= rptr)cout << arr[lptr++] << '\n';
| ^~~~
| lptr2
tickethandling.cpp:17:20: error: ‘rptr’ was not declared in this scope; did you mean ‘rptr2’?
17 | else if(lptr <= rptr)cout << arr[lptr++] << '\n';
| ^~~~
| rptr2