随笔分类 -  字符串其他

摘要:题目链接 根据回文串的左边、右边不相同,对于每个点把左边的翻过来,为了避免重复更新,记录当前更新到的右端点rr 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include< 阅读全文
posted @ 2016-03-09 22:41 HugeGun 阅读(389) 评论(0) 推荐(0)