K-Th Root

You will be given Q queries. In each query, you will be given two positive integers A and B. You hav…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

What’s the answer for this test?
9 6

please update the problem statement. there should be n^k = a^b @hjr265

1 Like

Thanks again, @rkb_rd. The problem statement has been updated.

1 Like