in the Kth root Question
i used (long long int)pow(mid,k)<=n
for the comparison but it was giving wrong answer
then i removed the long long int type conversion and it gave the right answer…can someone please expalin why?? i thought we couldnt comapre double and long long int that the reason i had converted it…but it gave error