Problem prefixsums
User asbx
Submission Time 2023-12-11 09:06:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:16:13: error: ‘r’ was not declared in this scope
16 | cout<<arr[r-1]-arr[l-2];
| ^
prefixsums.cpp:16:22: error: ‘l’ was not declared in this scope
16 | cout<<arr[r-1]-arr[l-2];
| ^