摘要: ```C++ /*H E A D*/ int from[maxnsize[son[u]]){//update son[u]=v; } } } void dfs2(int u,int tp){ pre[++tot2]=u; dfn[u]=tot2; top[u]=tp; if(son[u]) dfs2(son[u],tp... 阅读全文
posted @ 2018-01-28 15:58 Caturra 阅读(149) 评论(0) 推荐(0)
摘要: ```C++ / H E A D / int to[maxnsize[son[u]]){//update son[u]=v; } } } void dfs2(int u,int tp){ pre[++tot2]=u; dfn[u]=tot2; top[u]=tp; if(son[u]) dfs2(s 阅读全文
posted @ 2018-01-28 14:05 Caturra 阅读(143) 评论(0) 推荐(0)