E.g given a file with 3 cities, code should print all possibilities like;
1,2,3 = distance
1,3,2 = distance
2,1,3 = distance
2,3,1 = distance
...
...
...
The code should be able to do this for any file with any number of cities given although it may take time depending with the number of cities. The time taken to run each file should also be recorded and printed
This post has been edited by cordwell: 05 September 2010 - 09:09 PM

New Topic/Question
Reply




MultiQuote







|