随笔分类 -  【tarjan】

摘要:【题目链接】 http://www.lydsy.com/JudgeOnline/problem.php?id=1051 【题解】 tarjan缩点,如果只有一个块出度为0,那么那个块的所有点就是答案,否则无解 /* -------------- us... 阅读全文
posted @ 2018-03-03 21:50 Vanisher 阅读(76) 评论(0) 推荐(0)