Ver Fonte

that was not enough

tarfeef101 há 6 anos atrás
pai
commit
e988cabb95
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      a3/router.py

+ 2 - 0
a3/router.py

@@ -144,6 +144,8 @@ class graph:
         this.alist[dest - 1][src - 1] = weight
             
     def rebuild(this):
+        print("Before building")
+        print(this.alist)
         this.sssp = [(inf, 0)] * 5
         this.sssp[rid - 1] = (0, rid - 1)