0_0_33185100_14002.cpp: In function 'int main()': 0_0_33185100_14002.cpp:27:7: error: redeclaration of 'long long int flag' int flag=0; ^ 0_0_33185100_14002.cpp:26:6: note: 'long long int flag' previously declared here int flag=0; ^