Kth root problem

2 test cases passed. 1 test case failed.Can u help me out?
This is my link https://ide.codingblocks.com/s/319792