Well, I had the same problem but in the example input the last case is: 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
The answer is: a b c d e f g h i j k l m n o p q r s t u v w x y z That made it pretty clear for me. On Sep 7, 4:55 am, jz <[email protected]> wrote: > hey folks, good job with gcj. > > i couldn't understand something in prob B 'watersheds'. > > 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 > > a a a > a a a > > not > a a a > b b b > > i don't understand why BOTH 6s are sinks. 'flows' follow 'tie > situations' but 'sinks' don't? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
