Kth root problem

this code is not showing any output

You are not calculating the value of “mid” inside the while loop
Also the variable “n” should be of the type long long int