/*************************LCS/LIS/LCIs模板总结:*************************//*****************************************************LCS:最长公共子序列求长度为 len1 的序列 A 和长度为 len2 的序列 B 的LCS注意:序列下标从 0 开始滚动数组写法。返回 LCS 长度*****************************************************/int LCS(int len1,int len2){ memset(dp, 0, si... Read More
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1423http://acm.hust.edu.cn/vjudge/contest/view.action?cid=28195#problem/FGreatest Common Increasing SubsequenceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2757Accepted Submission(s): 855Problem Descr Read More
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1513http://acm.hust.edu.cn/vjudge/contest/view.action?cid=28195#problem/BPalindromeTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2430Accepted Submission(s): 838Problem DescriptionA palindrome is a symm Read More
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1159http://acm.hust.edu.cn/vjudge/contest/view.action?cid=28195#problem/ACommon SubsequenceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17621Accepted Submission(s): 7401Problem DescriptionA subsequenc Read More
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1257http://acm.hust.edu.cn/vjudge/contest/view.action?cid=28195#problem/D最少拦截系统Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12863Accepted Submission(s): 5100Problem Description某国为了防御敌国的导弹袭击,发展出一种导弹拦截系 Read More