Problem | prefixsums |
---|---|
User | Elnathan |
Submission Time | 2023-02-15 16:48:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:11:13: error: invalid types ‘long int[int]’ for array subscript
11 | arraySum[i] = arraySum[i - 1] + array[i];
| ^
prefixsums.cpp:11:31: error: invalid types ‘long int[int]’ for array subscript
11 | arraySum[i] = arraySum[i - 1] + array[i];
| ^