洛谷P2341受欢迎的牛(强连通份量模版)

强连通份量能够看做一组点 这组点中任意两个都是可到达的 而后把这一组点抽象成一个点便可ios #include<iostream> #include<cstdio> #include<algorithm> #include<string.h> using namespace std; const int maxn = 1e5+100; const int maxm = 500010; struct
相关文章
相关标签/搜索