0_0_21446410_11364.cpp: In function 'int main()': 0_0_21446410_11364.cpp:33:9: error: 'ans' was not declared in this scope ans = 0; ^