Problem | prefixsums |
---|---|
User | prxya |
Submission Time | 2023-11-09 15:25:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:12:40: error: expected ‘;’ before ‘:’ token
12 | for(int i = 0; i < N; i++) cin >> a[i]:
| ^
| ;
prefixsums.cpp:13:17: error: ‘i’ was not declared in this scope
13 | for(int i = 1; i < N; i++) a[i] = a[i-1] + a[i]:
| ^