Problem prefixsums
User Caoxizhen
Submission Time 2024-02-25 21:25:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:24:24: error: ‘r’ was not declared in this scope
24 | cout << prefix[r] - prefix[l - 1] << '\n';
| ^
prefixsums.cpp:24:36: error: ‘l’ was not declared in this scope
24 | cout << prefix[r] - prefix[l - 1] << '\n';
| ^