I think you should find another subproblem.

First, what do you need to answer?

Second, Can you rewrite the original problem in order to simplify it? I
mean, do we really need to consider both lanes?

Regards,

Guilherme Puglia


On Mon, Jul 22, 2013 at 8:48 AM, anup1pma <[email protected]> wrote:

> for each car we can load it to left lane or right lane on the ferry. so
> there can be some overlapping sub problems. here ferry length can be 10000
> cm. so array[10001][10001][n] is not possible, here n is number of cars.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/2630e766-11d6-4d60-b16e-e2aca4917006%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAKfgAVUPxu0cdDD-_yvgq9HcaYpsHjVe-vZ9LThY7aZ-0aixLg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to