Problem sumint
User Hatrix
Submission Time 2026-04-01 16:10:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:6:8: error: expected initializer before ‘<=’ token
6 | int d <= 10000;
| ^~
sumint.cpp:7:9: error: ‘d’ was not declared in this scope
7 | cin >> d;
| ^
sumint.cpp:9:21: error: ‘n’ was not declared in this scope
9 | for(int i = 0; i < n; i++) {
| ^