Problem prefixsums
User prxya
Submission Time 2023-11-09 15:24:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:16:9: error: ‘l’ was not declared in this scope
16 | cin >> l >> r;
| ^
prefixsums.cpp:16:14: error: ‘r’ was not declared in this scope
16 | cin >> l >> r;
| ^
prefixsums.cpp: At global scope:
prefixsums.cpp:19:2: error: expected declaration before ‘}’ token
19 | }
| ^