Problem rubies
User haydendoo
Submission Time 2022-12-27 08:14:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rubies.cpp: In function ‘int main()’:
rubies.cpp:24:46: error: ‘i’ was not declared in this scope
24 | while(!dq.empty() && dq.back().first<=psum[i-l+1]) dq.pop_back();
| ^