Problem prefixsums
User ToiletBrIcker
Submission Time 2024-06-19 09:14:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:8:13: error: expected ‘;’ before ‘for’
8 | psum[0] = 0
| ^
| ;
9 | for (int i =1; i <= N; i++){
| ~~~
prefixsums.cpp:9:17: error: ‘i’ was not declared in this scope
9 | for (int i =1; i <= N; i++){
| ^