浏览代码

Fixed newline in output (TS)

Jan Potocki 5 年前
父节点
当前提交
6cab940785
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0
    2
      Graph.cpp
  2. 1
    0
      pea2plus.cpp

+ 0
- 2
Graph.cpp 查看文件

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 查看文件

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;

正在加载...
取消
保存