0_0_36348285_25676.cpp: In function 'int main()': 0_0_36348285_25676.cpp:12:17: error: redeclaration of 'int i' int l1,l2,i,k,t; ^ 0_0_36348285_25676.cpp:9:12: note: 'int i' previously declared here for(int i=1;i<=n;i++) ^