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

Compile Error

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