To solve the problem CORRECTLY, you need infinite precision in doing floating arithmetic.
Or you should just use integers to avoid all the precision issue. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/450abbe9-9c31-4256-81fa-df462ad9698a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
