Steven D'Aprano added the comment:
Looking at your first example, you calculate:
>>> 63945173192649609/13
4918859476357662.0
which is correct when using floats (64-bit C doubles). 64 bits are not enough
to be any more precise, and you would get the same result in C or any other
langu
Steven D'Aprano added the comment:
Please don't post unnecessary screen shots of text. They are impossible for us
to copy your code, we have to re-type it from scratch, and retyping 17-digit
numbers is prone to typos. Screenshots make it difficult or impossible for the
blind and visually imp
New submission from Mradul Tiwari :
I'm a Competitive programmer and got Wrong Answer because of this division
issue, which I figured out post Contest. Please See the attached screenshot.
The "/" operator gives float division but for long integers, it's giving
integer answer. I've tested it o