Thanks, but I've already done this, which is how I know I have a few
cases that don't come out right. I was looking for a solution that
tracks the path, not just the path length, so I can step through my
code and figure out how my code is deviating from finding this path.

On Apr 13, 2:55 pm, JGN <[email protected]> wrote:
> On Apr 12, 8:32 pm, TheClassic <[email protected]> wrote:
>
> > Does anybody have a solution to the Crossing the Road problem that
> > tracks the path of the shortest route? I have a solution that doesn't
> > work with some of the cases in the large practice set and really want
> > to figure out what I did wrong. Having the correct path to the
> > shortest route would be helpful in debugging.
>
> It's easy to get: go to the scoreboard, click on the "download
> solution" checkbox, find a contestant who correctly solved the
> problem, download their source, compile it, run it, and there you go.
> You have the correct output for the problem. You can use diff or some
> similar tool to compare the correct output to your output in the test
> cases you got wrong.
>
> Bear in mind that you won't be able to do this in the actual
> contest...
>
> Cheers,
> JGN

-- 
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.

Reply via email to