Browse Source

Fixed newline (part II)

Jan Potocki 5 years ago
parent
commit
3691314819
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      pea2plus.cpp

+ 1
- 1
pea2plus.cpp View File

439
                         // Wyswietlenie trasy
439
                         // Wyswietlenie trasy
440
                         unsigned distFromStart = 0;
440
                         unsigned distFromStart = 0;
441
                         unsigned length = 0;
441
                         unsigned length = 0;
442
+                        cout << endl;
442
                         cout << route.at(0) << '\t' << length << '\t' << distFromStart << endl;
443
                         cout << route.at(0) << '\t' << length << '\t' << distFromStart << endl;
443
                         for(int i = 1; i < route.size(); i++)
444
                         for(int i = 1; i < route.size(); i++)
444
                         {
445
                         {
448
                             cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
449
                             cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
449
                         }
450
                         }
450
 
451
 
451
-                        cout << endl;
452
                         cout << "Dlugosc trasy: " << distFromStart << endl;
452
                         cout << "Dlugosc trasy: " << distFromStart << endl;
453
                         cout << endl;
453
                         cout << endl;
454
                         cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;
454
                         cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;

Loading…
Cancel
Save