Problem prefixsums
User kesleryak
Submission Time 2024-07-03 16:13:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:13:7: error: expected ‘;’ before ‘for’
13 | g = 0
| ^
| ;
14 | for (int i = 0; i < a; i++) {
| ~~~
prefixsums.cpp:14:18: error: ‘i’ was not declared in this scope
14 | for (int i = 0; i < a; i++) {
| ^