0_0_36551406_21367.cpp: In function 'void solve()': 0_0_36551406_21367.cpp:79:8: error: 'ans' was not declared in this scope if(ans==0) ^