- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 极大强联通图Tarjan hdu3594
hdu3594 典型的Tarjan 算法,代码如下:#include #include #include using namespace std; int const nMax = 20010; int const maxm = 50010*2; int first[nMax],to[maxm],nxt[maxm],dfn[nMax],low[nMax],vis[nMax]; int n,
2013-03-27 00:07:49 657
原创 最大权闭合图 zoj2930
#include #include #include #include #include using namespace std; int const nMax = 310; int const oo = 0x7fffffff; int first[nMax],now[nMax],f[nMax*nMax],to[nMax*nMax],nxt[nMax*nMax]; int n,m,e; in
2013-03-26 22:46:16 579
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人