Problem prefixsums
User yongteckrice
Submission Time 2023-02-15 14:59:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:29:20: error: expected ‘;’ before ‘for’
29 | prefix[0] = arr[0]
| ^
| ;
30 | for (long i{1}; i<N; i++)
| ~~~
prefixsums.cpp:30:18: error: ‘i’ was not declared in this scope
30 | for (long i{1}; i<N; i++)
| ^