0_0_34221341_6912.cpp: In function 'int main()': 0_0_34221341_6912.cpp:29:13: error: redeclaration of 'int p' int p = b[n]; ^ 0_0_34221341_6912.cpp:22:13: note: 'int p' previously declared here int p = 1; ^