Kth root problem

only 1 test case passed

Try to apply binary search.