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