Problem sumint
User Dana
Submission Time 2023-11-08 11:45:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:7:9: error: expected unqualified-id before numeric constant
7 | int 1 <= d <=10000;
| ^
sumint.cpp:8:12: error: ‘d’ was not declared in this scope
8 | cin >> d;
| ^
sumint.cpp:9:21: error: ‘n’ was not declared in this scope
9 | for (int i=0; i<n; i++){
| ^