| Problem | rollercoaster |
|---|---|
| User | HumbleCode257 |
| Submission Time | 2026-02-17 18:16:41 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
rollercoaster.cpp: In function ‘int main()’:
rollercoaster.cpp:19:17: error: ‘maxdq’ was not declared in this scope; did you mean ‘max’?
19 | while (!maxdq.empty() && maxdq.front() <= i - K)
| ^~~~~
| max
rollercoaster.cpp:22:17: error: ‘mindq’ was not declared in this scope; did you mean ‘min’?
22 | while (!mindq.empty() && mindq.front() <= i - K)
| ^~~~~
| min
rollercoaster.cpp:25:17: error: ‘maxdq’ was not declared in this scope; did you mean ‘max’?
25 | while (!maxdq.empty() && A[maxdq.back()] <= A[i])
| ^~~~~
| max
rollercoaster.cpp:29:17: error: ‘mindq’ was not declared in this scope; did you mean ‘min’?
29 | while (!mindq.empty() && A[mindq.back()] >= A[i])
| ^~~~~
| min