K th root only passes 2 test cases

what is wrong in my code?? I havve taken account for long numbers as well. 2 of the cases are passed and one is wrong

Pls share your code by saving on ide so that I could check it…

i have saved it on the ide . The code is not working for large nos.

I have edited your code… Try to submit it now…