0_0_33921634_25853.cpp: In function 'int main()': 0_0_33921634_25853.cpp:68:9: error: 'ans' was not declared in this scope cout<<ans<<" "<<ans1<<endl; ^