Problem sumint
User lxmine
Submission Time 2026-02-14 11:00:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:6:22: error: ‘d’ was not declared in this scope
6 | for (int i = 0; i < d, i++){
| ^
sumint.cpp:6:28: error: expected ‘;’ before ‘)’ token
6 | for (int i = 0; i < d, i++){
| ^
| ;
sumint.cpp:11:15: error: expected ‘;’ before ‘}’ token
11 | cout << total
| ^
| ;
12 | }
| ~