What am i doing wrong?
Ide–>https://ide.codingblocks.com/s/166112
Kth root problem
Try to change the value of end as, end= N and then try to submit the code…
I tried that but it is still giving the wrong answer.
I have edited your code… You can refer to the edited code now,