并查集
文章平均质量分 79
overload1997
努力 努力 再努力
展开
-
ACM天梯赛 L2-007. 家庭房产(并查集)
L2-007. 家庭房产 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 给定每个人的家庭成员和其自己名下的房产,请你统计出每个家庭的人口数、人均房产面积及房产套数。 输入格式: 输入第一行原创 2016-07-15 10:16:19 · 987 阅读 · 0 评论 -
ACM天梯赛 L3-003. 社交集群 (并查集)
L3-003. 社交集群 时间限制 1000 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 在社交网络平台注册时,用户通常会输入自己的兴趣爱好,以便找到和自己兴趣相投的朋友。有部分兴趣相同的人们就形成了“社交集群”。现原创 2016-07-15 22:12:57 · 426 阅读 · 0 评论 -
codeforces 731C.Socks
C. Socks time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Arseniy is already grown-up and independent. His m原创 2016-10-26 23:49:51 · 218 阅读 · 0 评论 -
Codeforces Round #405 B.Bear and Friendship Condition
B. Bear and Friendship Condition time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Bear Limak examines a socia原创 2017-03-20 22:12:23 · 453 阅读 · 0 评论 -
hdu 6109 数据分割 并查集缩点建边
数据分割 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 476 Accepted Submission(s): 103 Problem Description 小w来到百度之星的赛场上,准备开始实现一个程序原创 2017-08-12 20:33:21 · 286 阅读 · 0 评论