0_0_23968016_31300.cpp: In function 'int main()': 0_0_23968016_31300.cpp:70:7: error: redeclaration of 'int i' int i = 0 , k = 0; ^ 0_0_23968016_31300.cpp:13:10: note: 'int i' previously declared here for(int i = 1; i <= T; i++) ^