0_0_36578397_8172.cpp: In function 'void Solve()': 0_0_36578397_8172.cpp:63:6: error: redeclaration of 'long long int ans' int ans = 0; ^ 0_0_36578397_8172.cpp:52:6: note: 'long long int ans' previously declared here int ans = 0; ^