Problem prefixsums
User Tristyy
Submission Time 2024-06-18 14:26:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:15:10: error: expected initializer before ‘+=’ token
15 | int t += a[i];
| ^~
prefixsums.cpp:16:12: error: ‘t’ was not declared in this scope
16 | cout << t << "\n";
| ^