浏览代码

that was not enough

tarfeef101 6 年之前
父节点
当前提交
e988cabb95
共有 1 个文件被更改,包括 2 次插入0 次删除
  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)