0_0_36071145_26281.cpp: In function 'int main()': 0_0_36071145_26281.cpp:58:12: error: 'ans' was not declared in this scope if(ans!=0){ ^ 0_0_36071145_26281.cpp:61:9: error: 'ans' was not declared in this scope ans++; ^