what is the error?
Kth root question
hello @Sakshi_Suman
a) shrink ur search space , to avoid overflow
b) 
dont use pow function.
use loop to compute mid^k , if at any moment mid^i >n then break ur loop and make required updation
can you make changes to my code? as the other way which you are saying i dont really understand that!

this is what i m telling u to do.
i.e use loop to compute mid^k.
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.