0_0_31489338_29733.cpp:27:6: error: redefinition of 'int n' int n = read(); ^ 0_0_31489338_29733.cpp:11:10: note: 'int n' previously declared here int x,y,n,q; ^