Changes

Jump to: navigation, search

GPU621/DPS921 T-eaSyPeasy

459 bytes added, 13:22, 14 April 2016
Source
==Source==
 
The program takes it's input from a text file I generated in the same folder as the source code, the file contains the cities for the problem and looks like this:
 
8128 4970
8387 3949
9937 6215
4525 1874
1112 4960
4032 8333
 
The first column is read as the x value of the city and the second column is the y value of the city. You can adjust the number of cities to be taken from the file in the source code at the top of the main section.
<pre>

Navigation menu