CF962F-Simple Cycles Edges 题目: 题目描述: You are given an undirected graph, consisting of $ n $ vertices and $ m $ edges. The graph does not necessarily connected. Guaranteed, that the graph does not contain multiple edges (more than one edges between a pair of vertices) or loops (edges from a vertex to itself). A cycle in a graph is called a simple, if
P2065-[TJOI2011]卡片 题目: 题目描述: 桌子上现在有m张蓝色卡片和n张红色卡片,每张卡片上有一个大于1的整数。现在你要从桌子上拿
P4035-[JSOI2008]球形空间产生器 题目: 题目描述: 有一个球形空间产生器能够在 $n$ 维空间中产生一个坚硬的球体。现在,你被困在了这个 $n$
P3389-【模板】高斯消元法 题目: 题目描述: 给定一个线性方程组,对其求解 输入格式: 第一行,一个正整数 $n$ 第二至 $n+1$行,每行 $n+1$ 个整数,为
P6626-[省选联考 2020 B 卷] 消息传递 题目: 题目描述: 给定一个包含 $n$ 个人(从 $1$ 到 $n$ 编号)的树形社交网络。如果一个人在某天收到了一条消息,则下
P6329-【模板】点分树 | 震波 题目: 题目描述: 在一片土地上有 $n$ 个城市,通过 $n-1$ 条无向边互相连接,形成一棵树的结构,相邻两个城市的距离为 $1$