Computer Science Canada DWITE 2006 January #5 |
Author: | A.J [ Mon Jan 28, 2008 12:05 am ] |
Post subject: | DWITE 2006 January #5 |
In the question 'Distance between cities', I think the second sample test case is faulty. i got 8 instead of 7. |
Author: | zylum [ Mon Jan 28, 2008 12:59 am ] | ||
Post subject: | RE:DWITE 2006 January #5 | ||
I get 7 with my solution...
F->E->C->B gives 7 |
Author: | A.J [ Mon Jan 28, 2008 3:28 pm ] |
Post subject: | Re: DWITE 2006 January #5 |
I did it using your method too, but when i tried to use Dijkstra's algorithm (and a weirder approach) it didn't work. I guess i should stick with my easier method. Thanks anyways. |