Fixed newline (part II)

This commit is contained in:
Jan Potocki
2020-01-20 20:14:34 +01:00
parent 2d45eaf383
commit 3691314819
+1 -1
View File
@@ -439,6 +439,7 @@ int main(int argc, char *argv[])
// Wyswietlenie trasy // Wyswietlenie trasy
unsigned distFromStart = 0; unsigned distFromStart = 0;
unsigned length = 0; unsigned length = 0;
cout << endl;
cout << route.at(0) << '\t' << length << '\t' << distFromStart << endl; cout << route.at(0) << '\t' << length << '\t' << distFromStart << endl;
for(int i = 1; i < route.size(); i++) for(int i = 1; i < route.size(); i++)
{ {
@@ -448,7 +449,6 @@ int main(int argc, char *argv[])
cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl; cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
} }
cout << endl;
cout << "Dlugosc trasy: " << distFromStart << endl; cout << "Dlugosc trasy: " << distFromStart << endl;
cout << endl; cout << endl;
cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl; cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;