Whats wrong with this code? why is it showing timelimit?

hey @sans_sehgal, constraints of the question are very high. So power function cannot compute the answer for such a big number. I suggest you to take the idea from the video of Binary Search- square root under sorting and searching section of your code.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.