ACM ICPC World Finals 2010

Problem I: Robots on Ice

This problem can be solved by generating all paths via exhaustive search, with some pruning to discover when a partial path can never lead to a complete path. One particular set of prunings that is sufficient to make the search fast enough is the following (there are probably even simpler ones than these that are sufficient):