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