On Sun, 6 Sep 2009 19:55:54 -0700 (PDT), jz <[email protected]> wrote: > in following case in sample input, > [2 3] > 7 6 7 > 7 6 7 > > now upper 6 and downer 6 has same altitude. > So what i thought was i should follow "NORTH WEST EAST SOUTH" rule, > so upper 6 must be the sink, and the basin map should be
Water flows only to _strictly lower_ altitudes, and since there's no point lower than 6 then both 6 have to be sinks. Regards Adam --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
