边双连通有一个非常简单的做法就是先找出所有桥,然后再dfs一次不走桥即可答案是(叶子节点的个数+1)/2 type node=record next,po:longint; end; ..] of node; p,dfn,low,d,be,fa:..] of longint; hash:..,..] of boolean; b:..] of boolean; len,n,m,x,y,i,ans,t,s,j,h,r:longint; function min(a,b:longint):longin…