I don't think you have the correct understanding of how this case works. I have created a potential python solution at http://www.ideone.com/aUGJT that outputs to standard error the state after every generation. It's fairly slow for the small data set and very very very slow for the large data set, but hopefully it explains the mechanic at play.
On Mon, May 2, 2011 at 5:30 AM, prajay shetty <[email protected]> wrote: > The question is here > > http://code.google.com/codejam/contest/dashboard?c=635102#s=p2 > > hello pplĀ am i interprating it correctly > here > for the first test case as > > 5151 > 5050 --1 > 0000--2 > > for this 2242 > 1141--3 > 0040 --4 > > for this 2324 > > 1314 -- 5 > 0304 --6 > total is 6 seconds or am i wrong ??? > -- > Regards ,Prajay > > -- > 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. > -- 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.
