Problem sumint
User tzuyuan
Submission Time 2024-06-18 11:34:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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