Problem prefixsums
User YH
Submission Time 2024-05-25 14:01:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:28:27: error: expected ‘;’ before ‘cout’
28 | else a = arr[y] - arr[x]
| ^
| ;
29 |
30 | cout << a << endl;
| ~~~~