Time limit exceeded! error in kth root

time limit exceeded TLE aa rha h

smajh nhi aaya

  1. jo likha h “power walla function logn meh kar ne kis kosis and use long long int for big
    test cases” yahi nhi samaj aaya
  2. 10^9 se kyu kahi multiply kiya aur kyu kahi divide kr rhe

sorry refer to this code
previous code was giving WA
extremely sorry for the problem