摘要: 就是判断一个有向图是否有环,注意图可能不连通。 用dfs搜一下就行了。 阅读全文
posted @ 2017-11-18 11:38 sulley 阅读(695) 评论(0) 推荐(0) 编辑