摘要:
题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1513 题意:给你一个字符串,问你最少插入多少个字符使其为回文字符。 题解:将字符串倒着保存,然后求一下原串和该串的最长公共子序列,然后字符串长度剪LCS就是答案 1 #include<cstdio> 2 阅读全文
posted @ 2016-05-06 22:47
bin_gege
阅读(197)
评论(0)
推荐(0)
摘要:
D2. Magic Powder - 2 time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The term of this pro 阅读全文
posted @ 2016-05-06 18:54
bin_gege
阅读(143)
评论(0)
推荐(0)

浙公网安备 33010602011771号