Pārlūkot izejas kodu

Fixed newline in output (TS)

Jan Potocki 5 gadus atpakaļ
vecāks
revīzija
0b6e9418f9
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 1
    1
      Graph.cpp
  2. 1
    0
      pea2plus.cpp

+ 1
- 1
Graph.cpp Parādīt failu

@@ -679,5 +679,5 @@ void Graph::travellingSalesmanTabuSearchEngine(Graph &graph, unsigned tabuSteps,
679 679
         stopCounter = 0;
680 680
     }
681 681
 
682
-    std::cout << std::endl;
682
+    //std::cout << std::endl;
683 683
 }

+ 1
- 0
pea2plus.cpp Parādīt failu

@@ -448,6 +448,7 @@ int main(int argc, char *argv[])
448 448
                             cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
449 449
                         }
450 450
 
451
+                        cout << endl;
451 452
                         cout << "Dlugosc trasy: " << distFromStart << endl;
452 453
                         cout << endl;
453 454
                         cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;

Notiek ielāde…
Atcelt
Saglabāt