0_0_32370297_13384.cpp: In function 'int main()': 0_0_32370297_13384.cpp:42:23: error: 'ans' was not declared in this scope printf("%I64d\n",ans); ^