Fixed newline (part II)
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user