0_0_26137331_12477.cpp:2:18: error: redefinition of 'int n' int half,n,count,n,p[26][26]; ^ 0_0_26137331_12477.cpp:2:10: note: 'int n' previously declared here int half,n,count,n,p[26][26]; ^