Problem prefixsums
User Batigol
Submission Time 2024-01-18 16:48:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:23:31: error: ‘arr’ was not declared in this scope
23 | cout<<dp[b-1]-dp[a-1]+arr[a-1]<<endl;
| ^~~