Problem watching
User Josh28
Submission Time 2023-02-19 23:49:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

watching.cpp: In function ‘ll memo(ll, ll)’:
watching.cpp:73:29: error: ‘ptr2’ was not declared in this scope; did you mean ‘ptr1’?
73 | while(ptr1 < n && event[ptr2] <= smolr){
| ^~~~
| ptr1