Problem sumint
User Yuxuan
Submission Time 2024-04-21 15:05:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:9:6: error: ‘i’ was not declared in this scope
9 | for(i=0;i<d;i++) {
| ^
sumint.cpp:16:2: error: expected ‘}’ at end of input
16 | }
| ^
sumint.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^