Procházet zdrojové kódy

that was not enough

tarfeef101 před 6 roky
rodič
revize
442c46e93b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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