0_0_37078527_22510.cpp: In function 'int main()': 0_0_37078527_22510.cpp:31:7: error: redeclaration of 'int n' int n; ^ 0_0_37078527_22510.cpp:25:9: note: 'int n' previously declared here int T,n; ^