随笔分类 -  并查集

上一页 1 2

HDU 1213 How Many Tables(并查集)
摘要:How Many TablesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6025Accepted Submission(s): 2859Problem DescriptionToday is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he need 阅读全文

posted @ 2012-07-29 07:41 kuangbin 阅读(1362) 评论(0) 推荐(0)

HDU 1198 Farm Irrigation(并查集)
摘要:Farm IrrigationTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2559Accepted Submission(s): 1145Problem DescriptionBenny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are 阅读全文

posted @ 2012-07-28 11:14 kuangbin 阅读(1482) 评论(0) 推荐(0)

上一页 1 2

导航

JAVASCRIPT: