FUNC: TLE problem

Even after aborting the calculation of root once it becomes 1. That leads to maximum 60 calls to the root function, no matter what N is. Since, (10^18)^(1/60)=1. Still I am getting TLE. Please help…!
Have been trying from a week now…!

6 Likes