Problem sumint
User itchydeez
Submission Time 2023-11-10 09:40:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:6:9: error: expected ‘;’ before ‘for’
6 | total=0
| ^
| ;
7 | for (i=0;i<d;i++){
| ~~~
sumint.cpp:7:11: error: ‘i’ was not declared in this scope
7 | for (i=0;i<d;i++){
| ^