The output is coming out to be wrong. Please help me correct the code.
Kth Root - Error in Output
@Anaghajain dont store the value of the answer calculated by pow() in any variable but simply compare it in the of condition
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
Sir, I am not able to understand what is wrong with my code. I have tried to directly calculate the value of power instead of storing it in an long long variable but it is still not working.
(test case 1000000000000000 10 - is not getting the correct value)
pls share ur updated code with me
use long long of all variables,and also for function return type
check ur updated code->
Thank you very much sir!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.