1034 Head of a Gang (30 分) PAT甲级(图的遍历,DFS)
1034 Head of a Gang (30 分) PAT甲级(详细分析)
一、原题
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 be the total tim
原创
2021-07-11 10:32:27 ·
289 阅读 ·
0 评论