Getting Wa on codeforces

And thanks man for diving into this issue actually I asked a lot of my cp friends and they couldnt come up with any explanation for this. So I waanted to know if there is any underlying concept here.

u should know about how floating points number are stored in datatypes,how precise a particular datatype is and how to handel precision related issue(like by avoid division).
read more from internet.

also checkout this-> link

1 Like