From cf1be0af6ec798bf2bb1a2bb75c10f84059c5016 Mon Sep 17 00:00:00 2001 From: bbod Date: Tue, 31 Mar 2020 00:47:59 -0600 Subject: [PATCH] Auto Commit --- HW10/main.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/HW10/main.cpp b/HW10/main.cpp index 2417ef7..fcffa87 100644 --- a/HW10/main.cpp +++ b/HW10/main.cpp @@ -51,12 +51,11 @@ int main(int argc, char* argv[]) } lowestCost = MakePermutationMatrix::GetLowestCost(cities, rank, size, costMatrix); -// if(!rank){ -// std::cout << costs.size() << std::endl; -// std::cout << costs[0]; -// } + + if(!rank) + std::cout << "The lowest cost is " << lowestCost << std::endl; MPI_Finalize(); - std::cout << "The lowest cost is " << lowestCost << std::endl; + return 0; } \ No newline at end of file