并差集
hellohelloC
一个真正强大的人,不会把太多心思花在取悦和亲附别人上面。所谓圈子、资源,都只是衍生品。最重要的是提高自己的内功。只有自己修炼好了,才会有别人来亲附。自己是梧桐,凤凰才会来栖;自己是大海,百川才来汇聚,花香自有蝶飞来。你只有到了那个层次,才会有相应的圈子,而不是倒过来!
点滴积累,迈向远方。。。
展开
-
Gym 100676F Palindrome(并差集)
链接:http://codeforces.com/gym/100676/attachments/download/3333/acm-arabella-collegiate-programming-contest-en.pdf题目:F - F. Palindrome题意:给你一个字符串,?处是没有填的地方,然后他是一个回文串并且告诉你一些其他位置的字母是需要相等的。问你:有多原创 2015-08-23 13:21:28 · 841 阅读 · 0 评论 -
Wireless Network
http://poj.org/problem?id=2236Description An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected a原创 2015-08-10 11:32:51 · 741 阅读 · 0 评论 -
Hie with the Pie
http://poj.org/problem?id=3311Hie with the Pie Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 5519 Accepted: 2969DescriptionThe Pizazz Pizzeria prides itself in delivering pizzas原创 2015-08-10 12:58:46 · 705 阅读 · 0 评论 -
POJ 1611 The Suspects(并差集)
链接:http://poj.org/problem?id=1611The SuspectsTime Limit: 1000MSMemory Limit: 20000KTotal Submissions: 27854Accepted: 13583DescriptionSevere acute respirat原创 2015-08-29 16:36:02 · 452 阅读 · 0 评论 -
POJ 2524 Ubiquitous Religions(宗教种类:并差集)
链接:http://poj.org/problem?id=2524Ubiquitous ReligionsTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 27774Accepted: 13610DescriptionThere are s原创 2015-08-30 10:30:44 · 962 阅读 · 0 评论 -
HDU 1856 More is better(并查集)
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1856DescriptionMr Wang wants some boys to help him with a project. Because the project is rather complex, the more boys come, the better it will be. Of cour原创 2016-05-28 12:20:46 · 312 阅读 · 0 评论 -
Codeforces 278C. Learning Languages
Learning LanguagesTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe "BerCorp" company has got n employees. These employees can usem原创 2016-07-22 15:56:21 · 697 阅读 · 0 评论 -
HDU 3234 Exclusive-OR(加权并差集)
Exclusive-ORTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3300 Accepted Submission(s): 909Problem DescriptionYou are not gi原创 2016-08-11 22:31:03 · 693 阅读 · 0 评论