Cannon Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?pid=4499 Description…
分类:Online Judge
HDU 4731 Minimum palindrome (2013成都网络赛,找规律构造)
Minimum palindrome Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (…
HDU 4553 约会安排 (线段树,区间合并)
约会安排 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)To…
hdu 5763 Another Meaning kmp+dp
Another Meaning 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5763 Description As is known to all, in many c…
HDU 3966 Aragorn's Story (树链剖分+树状数组)
Aragorn’s Story Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/32768…
Codeforces Round #382 (Div. 2)B. Urbanization 贪心
B. Urbanization 题目链接 http://codeforces.com/contest/735/problem/B 题面 Local authorities have heard a lot about c…
POJ 3207 Ikki's Story IV - Panda's Trick(2-SAT入门)
讲解见:http://hi.baidu.com/chinaeli/blog/item/dd00463cdb40eecf9f3d62c7.html http://blog.163.com/lfw2565295@126/bl…
BZOJ 1096 [ZJOI2007]仓库建设 斜率优化dp
1096: [ZJOI2007]仓库建设 Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://www.lydsy.com/JudgeOnline/problem.php…
POJ 1459 Power Network 最大流 dinic模板
Power Network Time Limit: 2000MS Memory Limit: 32768K Total Submissions: 18609 Accepted: 9833 De…
HDU 4685 Prince and Princess 二分图匹配+tarjan
Prince and Princess 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=4685 Description There are n princes and m…
POJ 1860 Currency Exchange(BellmanFord算法的变形,求正环)
/* POJ 1860 有多种汇币,汇币之间可以交换,这需要手续费,当你用100A币 交换B币时,A到B的汇率是29.75,手续费是0.39,那么你可以得到 (100 - 0.39) * 29.75 = 2963.397…
POJ 2996 Help Me with the Game(水模拟)
Help Me with the Game Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2426 Accepted: …