We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b4e79 commit 50a2deeCopy full SHA for 50a2dee
src/class165/Code04_TeamBuilding1.java
@@ -5,7 +5,7 @@
5
// 每个人给定一种颜色,颜色相同的人认为是一个小组,可能有的颜色的组是没人的
6
// 给定m条边,每条边连接两个人,代表这两人之间有矛盾
7
// 假设组a和组b,两个组的人一起去团建,组a和组b的所有人,可以重新打乱
8
-// 目的是所有人最多分成两个集团,并且每个集团的内部不存在矛盾,每人都要参加
+// 如果所有人最多分成两个集团,每人都要参加划分,并且每个集团的内部不存在矛盾
9
// 那么组a和组b就叫做一个"合法组对",注意,组b和组a就不用重复计算了
10
// 一共有k个组,随意选两个组的情况很多,计算一共有多少个"合法组对"
11
// 1 <= n、m、k <= 5 * 10^5
src/class165/Code04_TeamBuilding2.java
0 commit comments