problem : given two integers n and k. Find the greatest integer x, such that, x^k <= n.
soln:https://ide.codingblocks.com/s/39100
can you tell me the mistake in it as i m only able to pass one test case
problem : given two integers n and k. Find the greatest integer x, such that, x^k <= n.
soln:https://ide.codingblocks.com/s/39100
can you tell me the mistake in it as i m only able to pass one test case
for the ans variable, change it to unsigned long long int