Problem sumint
User itchydeez
Submission Time 2023-11-08 15:38:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:9:2: error: expected primary-expression before ‘for’
9 | for (int i = 0; i < d; i = i + 1){
| ^~~
sumint.cpp:9:18: error: ‘i’ was not declared in this scope
9 | for (int i = 0; i < d; i = i + 1){
| ^