0_0_37926047_24323.cpp: In function 'int main()': 0_0_37926047_24323.cpp:24:17: error: 'ans' was not declared in this scope printf("%lld", ans); ^