Browse Source

Fixed newline in output (TS)

Jan Potocki 5 years ago
parent
commit
0b6e9418f9
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      Graph.cpp
  2. 1
    0
      pea2plus.cpp

+ 1
- 1
Graph.cpp View File

679
         stopCounter = 0;
679
         stopCounter = 0;
680
     }
680
     }
681
 
681
 
682
-    std::cout << std::endl;
682
+    //std::cout << std::endl;
683
 }
683
 }

+ 1
- 0
pea2plus.cpp View File

448
                             cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
448
                             cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
449
                         }
449
                         }
450
 
450
 
451
+                        cout << endl;
451
                         cout << "Dlugosc trasy: " << distFromStart << endl;
452
                         cout << "Dlugosc trasy: " << distFromStart << endl;
452
                         cout << endl;
453
                         cout << endl;
453
                         cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;
454
                         cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;

Loading…
Cancel
Save