洛谷P2341受歡迎的牛(強連通份量模版)

強連通份量能夠看做一組點 這組點中任意兩個都是可到達的 而後把這一組點抽象成一個點便可ios #include<iostream> #include<cstdio> #include<algorithm> #include<string.h> using namespace std; const int maxn = 1e5+100; const int maxm = 500010; struct
相關文章
相關標籤/搜索