Problem sumint
User lucaskoh
Submission Time 2026-06-29 17:03:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:14:5: error: ‘i’ was not declared in this scope
14 | for(i=0; i<d;i++)
| ^
sumint.cpp:20:6: error: ‘j’ was not declared in this scope
20 | for(j=0; j<d;j++)
| ^
sumint.cpp:24:14: error: expected ‘}’ at end of input
24 | cout << value;
| ^
sumint.cpp:7:1: note: to match this ‘{’
7 | {
| ^