Browse Source

Fixed newline in output (TS)

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

+ 0
- 2
Graph.cpp View File

693
         // Reset licznika iteracji przed restartem
693
         // Reset licznika iteracji przed restartem
694
         stopCounter = 0;
694
         stopCounter = 0;
695
     }
695
     }
696
-
697
-std::cout << std::endl;
698
 }
696
 }

+ 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