Problem razlika
User benji9736
Submission Time 2026-01-01 20:50:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

razlika.cpp: In function ‘int main()’:
razlika.cpp:18:17: error: ‘dq’ was not declared in this scope
18 | while (!dq.empty() && dq.front() < i - window_size + 1){
| ^~
razlika.cpp:21:17: error: ‘dq’ was not declared in this scope
21 | while (!dq.empty() && diff[dq.back()] >= diff[i]){
| ^~
razlika.cpp:24:9: error: ‘dq’ was not declared in this scope
24 | dq.push_back(i);
| ^~