Probably there is |supplied - expected| < 1e-6
Luke Pebody wrote: > I don't need to see code, I just want to be sure what "relative > difference of 1e-6" means. > My guess is that it means: > either > supplied = expected = 0 > or > |supplied - expected| / max(|supplied|,|expected|) <= 1e-6. > > On Sun, Aug 30, 2009 at 3:13 AM, Bartholomew Furrow<[email protected]> wrote: > >> I'm guessing you want to see code for this? I'm fine with that, but running >> it through Igor first. >> >> On Sat, Aug 29, 2009 at 8:35 AM, Luke Pebody <[email protected]> wrote: >> >>> Can you clarify what the judging algorithm for the correctness of >>> floating-point answers is? >>> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-code?hl=en -~----------~----~----~----~------~----~------~--~---
