Problem prefixsums
User Johnnie
Submission Time 2023-06-21 08:47:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:17:18: error: ‘prefix’ was not declared in this scope; did you mean ‘prefixArr’?
17 | prefixArr[i] = prefix[i - 1] + A[i];
| ^~~~~~
| prefixArr