ソースを参照

that was not enough

tarfeef101 6 年 前
コミット
442c46e93b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      a3/router.py

+ 1 - 1
a3/router.py

@@ -134,7 +134,7 @@ class graph:
     def show(this):
         print("RIB: ")
         for i in range(0, 5):
-            print("R" + str(rid) + " -> R"+ str(i) + " = " + str(this.sssp[i][0]) + " using node " + str(this.sssp[i][1]))
+            print("R" + str(rid) + " -> R"+ str(i + 1) + " = " + str(this.sssp[i][0]) + " using node " + str(this.sssp[i][1] + 1))
         
     def insert(this, connection):
         src = connection.src