瀏覽代碼

Fixed newline in output (TS)

Jan Potocki 5 年之前
父節點
當前提交
0b6e9418f9
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. 1
    1
      Graph.cpp
  2. 1
    0
      pea2plus.cpp

+ 1
- 1
Graph.cpp 查看文件

679
         stopCounter = 0;
679
         stopCounter = 0;
680
     }
680
     }
681
 
681
 
682
-    std::cout << std::endl;
682
+    //std::cout << std::endl;
683
 }
683
 }

+ 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;

Loading…
取消
儲存