0_0_22487451_17165.cpp: In function 'int main()': 0_0_22487451_17165.cpp:4:12: error: redeclaration of 'int n' int m,n,a,n,i,j; ^ 0_0_22487451_17165.cpp:4:8: note: 'int n' previously declared here int m,n,a,n,i,j; ^