SSL 2344 洛谷 2835 信息学奥赛一本通 1383 刻录光盘#floyd,tarjan,kosaraju#
洛谷请关掉优化题目求有多少个连通块分析floyd+并查集floyd代码#include#include#includeusingnamespacestd;intn,m,ans,f[201],x;boolv[201],a[201][201];intin(){intans=0;charc=getchar();while(!isdigit(c))c=getchar();while(isdigit(c))