Problem | sumint |
---|---|
User | 583116UB |
Submission Time | 2024-04-13 11:24:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:6:16: error: ‘i’ was not declared in this scope
6 | for(int d=0; i<d; i++)
| ^
sumint.cpp:8:11: error: ‘i’ was not declared in this scope
8 | cin >> i;
| ^
sumint.cpp:9:4: error: ‘sum’ was not declared in this scope
9 | sum = sum + i:
| ^~~