洛谷3387 【模板】缩点
摘要:
"原题链接" 做了挺多强连通分量缩点题,结果模板还晾着。。 $tarjan$找强连通缩点,然后拓扑排序$DP$就好。 cpp include using namespace std; const int N = 1e4 + 10; const int M = 1e5 + 10; struct eg 阅读全文
posted @ 2018-09-21 13:24 Iowa_Battleship 阅读(106) 评论(0) 推荐(0) 编辑