标签 - HDU

? 解题记录 ? ? HDU ? ? 动态规划 ? ? 矩阵快速幂 ? ? 状态压缩 ?    2017-10-21 11:47:39    532    0    0
Peace small elephantXiao Ming likes playing the international chess ,especially like the elephant(it can move by slant while no barrier), but he think the big elephant of the chess is cruel,and a kind of small elephant is not as cruel as the big elephant. Its attack range is checks on the
? 解题记录 ? ? HDU ? ? 动态规划 ? ? 斜率优化 ?    2017-10-14 21:31:29    533    0    0
Covered WalkwayTime Limit: 30000/10000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1548    Accepted Submission(s): 623 Problem Description Your university wants to build a new walkway, and they want at least part of it t
? 解题记录 ? ? HDU ? ? 补档计划第一期 ? ? Kruscal ?    2017-10-01 14:14:44    546    0    0
相信大家都听说一个“百岛湖”的地方吧,百岛湖的居民生活在不同的小岛中,当他们想去其他的小岛时都要通过划小船来实现。现在政府决定大力发展百岛湖,发展首先要解决的问题当然是交通问题,政府决定实现百岛湖的全畅通!经过考察小组RPRush对百岛湖的情况充分了解后,决定在符合条件的小岛间建上桥,所谓符合条件,就是2个小岛之间的距离不能小于10米,也不能大于1000米。当然,为了节省资金,只要求实现任意2个小岛之间有路通即可。其中桥的价格为 100元/米。 Input 输入包括多组数据。输入首先包括一个整数T(T <= 200),代表有T组数据。 每组数据首先是一个整数C(C <=
? 解题记录 ? ? HDU ? ? 最大流 ? ? 补档计划第一期 ? ? 网络流 ?    2017-10-01 13:58:27    543    1    0
  给你一个m*n的格子的棋盘,每个格子里面有一个非负数。 从中取出若干个数,使得任意的两个数所在的格子没有公共边,就是说所取数所在的2个格子不能相邻,并且取出的数的和最大。 Input 包括多个测试实例,每个测试实例包括2整数m,n和m*n个非负数(m<=50,n<=50) Output 对于每个测试实例,输出可能取得的最大的和 Sample Input 3 3 75 15 21  75 15 28  34 70 5​Sample Output 188​​ 
? 解题记录 ? ? 传递闭包 ? ? HDU ?    2017-08-20 10:43:10    310    0    0
RankTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1739    Accepted Submission(s): 678 Problem Description there are N ACMers in HDU team.ZJPCPC Sunny Cup 2007 is coming, and lcy want to select some exce