Power of 2 : Unsolved


#1

I want to recall the power function using power(A) as designated in the problem by recreating the string A having number equal to half its original numer but when i am doing so, it is showing memory limit exceeded.
what is wrong with it?


#2

It is written that it can be out of range of long long