mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-07 22:32:28 +08:00
Update graph/travelling_salesman_problem.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -105,7 +105,7 @@ static void tests() {
|
||||
* @returns 0 on exit
|
||||
*/
|
||||
int main() {
|
||||
tests();
|
||||
tests(); // run self-test implementations
|
||||
std::vector<std::vector<int>> cities = {
|
||||
{0, 5, 10, 15}, {5, 0, 20, 30}, {10, 20, 0, 35}, {15, 30, 35, 0}};
|
||||
int V = cities.size();
|
||||
|
||||
Reference in New Issue
Block a user