0_0_32234315_28738.cpp: In function 'int main()': 0_0_32234315_28738.cpp:13:8: error: redeclaration of 'int i' int i=0; ^ 0_0_32234315_28738.cpp:7:12: note: 'int i' previously declared here for(int i=0;i<t;i++){ ^