Problem sumint
User themanisvan
Submission Time 2024-11-11 16:17:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:10:2: error: expected ‘,’ or ‘;’ before ‘for’
10 | for (int i=1; i<=d; i++){
| ^~~
sumint.cpp:10:16: error: ‘i’ was not declared in this scope
10 | for (int i=1; i<=d; i++){
| ^