摘要:
http://poj.org/problem?id=3056The Bavarian Beer PartyTime Limit:6000MSMemory Limit:65536KTotal Submissions:995Accepted:359DescriptionThe professors of... 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=4632题意:一个字符串,有多少个subsequence是回文串。别人的题解:用dp[i][j]表示这一段里有多少个回文串,那首先dp[i][j]=dp[i+1][j]+dp[i][j-1],但是dp[i+1][j]... 阅读全文