摘要: python写法: import queue class Graph(object): def add_edge(self, x, y, z): self.tot += 1 self.ver[self.tot] = y self.edge[self.tot] = z self.nex[self.to 阅读全文
posted @ 2020-04-13 17:13 SwiftAC 阅读(157) 评论(0) 推荐(0) 编辑