Problem prefixsums
User theRealLucasXD
Submission Time 2025-05-26 22:18:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:18:24: error: expected ‘;’ before ‘)’ token
18 | for (int i=0; i<Q, i++) {
| ^
| ;
prefixsums.cpp:20:44: error: expected ‘;’ before ‘}’ token
20 | cout << Asums[current2] - Asums[current1]
| ^
| ;
21 | }
| ~