Problem sumint
User Curiocodeexplorer
Submission Time 2023-11-08 13:46:09
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:18: error: ‘i’ was not declared in this scope
8 | for (int i = 0; i<d; i++) {
| ^