Problem prefixsums
User Randomguy
Submission Time 2025-12-29 11:18:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:10:2: error: ‘b’ was not declared in this scope
10 | b = a;
| ^
prefixsums.cpp:14:10: error: ‘l’ was not declared in this scope
14 | cin >> l >> r;
| ^
prefixsums.cpp:14:15: error: ‘r’ was not declared in this scope
14 | cin >> l >> r;
| ^
prefixsums.cpp:21:1: error: expected ‘}’ at end of input
21 | }
| ^
prefixsums.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^