Problem prefixsums
User xiaoqiwang04
Submission Time 2023-05-29 23:33:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:11:5: error: ‘ll’ was not declared in this scope
11 | ll N, Q,c,sum,l,r;
| ^~
prefixsums.cpp:12:11: error: ‘N’ was not declared in this scope
12 | cin >>N>>Q;
| ^
prefixsums.cpp:12:14: error: ‘Q’ was not declared in this scope
12 | cin >>N>>Q;
| ^
prefixsums.cpp:13:5: error: ‘sum’ was not declared in this scope
13 | sum=0;
| ^~~
prefixsums.cpp:16:14: error: ‘c’ was not declared in this scope
16 | { cin>>c;
| ^
prefixsums.cpp:24:15: error: ‘l’ was not declared in this scope
24 | cin>> l>>r;
| ^
prefixsums.cpp:24:18: error: ‘r’ was not declared in this scope
24 | cin>> l>>r;
| ^