摘要: 题目背景 割点 题目描述 给出一个n个点,m条边的无向图,求图的割点。 输入输出格式 输入格式: 第一行输入n,m 下面m行每行输入x,y表示x到y有一条边 输出格式: 第一行输出割点个数 第二行按照节点编号从小到大输出节点,用空格隔开 输入输出样例 输入样例#1: 6 7 1 2 1 3 1 4 阅读全文
posted @ 2019-03-18 20:30 鸟人呀 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 大牛博客:https://blog.csdn.net/AgoniAngel/article/details/52261452 Polya公式(优化过程): 阅读全文
posted @ 2019-03-18 18:52 鸟人呀 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Beads of N colors are connected together into a circular necklace of N beads (N<=1000000000). Your job is to calculate how many different kinds of the 阅读全文
posted @ 2019-03-18 18:50 鸟人呀 阅读(136) 评论(0) 推荐(0) 编辑