For round 2 problem B, the code analysis suggests states as (i, j, start, end). Can we have the states as just (i, start, end)? Is the value of j important? we can just move without adding to the value of d.
In case, there are pits in between, the states would be broken down .. for example when we have the following ...... .##.#. in the first row, the states would be (1, 1, 4) and (1, 4, 6) Would it work ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
