On Wednesday, May 2, 2018 at 12:36:35 AM UTC+8, Gildas Chabot wrote: > I testing my code against generated data and it was correct, however, I keep > getting "Wrong answer" from the Judge system. Here is my code, any idea?
I think you have a bug in the part that finds the closest value. Input: 1 1 560 71 154 Your output: Case #1: 592.000000 Correct output: Case #1: 450.0 -- 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 google-code+unsubscr...@googlegroups.com. To post to this group, send email to google-code@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/c8e64c78-004c-4af9-96d7-ed3fc90fdcd6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.