【PAT】1034.Head of a Gang (30)【深度優先搜索】

題目描述 One way that the police finds the head of a gang is to check people’s phone calls. If there is a phone call between A and B, we say that A and B is related. The weight of a relation is defined to
相關文章
相關標籤/搜索