Problem sumint
User elsatanyixin
Submission Time 2026-02-14 10:55:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for (i=0; i<d; i++)
| ^
sumint.cpp:12:9: error: ‘a’ was not declared in this scope
12 | cin <<a;
| ^
sumint.cpp:13:12: error: ‘i’ was not declared in this scope
13 | cout << a+i
| ^