摘要: 代码 //fw #include<iostream> #include<cstdio> #include<fstream> #include<algorithm> #include<cmath> #include<deque> #include<vector> #include<queue> #in 阅读全文
posted @ 2022-07-21 23:59 Avarice_Zhao 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 【模板】割点(割顶) 题目背景 割点 题目描述 给出一个 $n$ 个点,$m$ 条边的无向图,求图的割点。 输入格式 第一行输入两个正整数 $n,m$。 下面 $m$ 行每行输入两个正整数 $x,y$ 表示 $x$ 到 $y$ 有一条边。 输出格式 第一行输出割点个数。 第二行按照节点编号从小到大输 阅读全文
posted @ 2022-07-21 11:04 Avarice_Zhao 阅读(50) 评论(0) 推荐(0) 编辑