0_0_14300540_21228.cpp: In function 'int main()': 0_0_14300540_21228.cpp:47:23: error: redeclaration of 'int i' int x,y,z,i,j,k; ^ 0_0_14300540_21228.cpp:44:17: note: 'int i' previously declared here for(int i=0;i<m;i++) ^