0_0_21057691_1735.cpp: In function 'int main()': 0_0_21057691_1735.cpp:12:21: error: redeclaration of 'long long int k' long long n,k,f=0; ^ 0_0_21057691_1735.cpp:10:13: note: 'int k' previously declared here for(int k=1;k<=t;k++){ ^