Problem sumint
User friedcircuits177
Submission Time 2024-01-29 17:37:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:9:7: error: redeclaration of ‘int x’
9 | int x;
| ^
sumint.cpp:8:11: note: ‘int x’ previously declared here
8 | for (int x=1;x<=d;x++){
| ^