0_0_28595928_9073.cpp: In function 'int main()': 0_0_28595928_9073.cpp:12:13: error: redeclaration of 'int i' int i,j=0,k,t; ^ 0_0_28595928_9073.cpp:10:13: note: 'int i' previously declared here for(int i=0;i<n;i++) ^