0_0_35272837_4894.cpp: In function 'int main()': 0_0_35272837_4894.cpp:87:17: error: 'ans' was not declared in this scope cout << ans << "\n"; ^