会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wdan2016
博客园
首页
新随笔
联系
订阅
管理
2017年4月1日
给定一个字符串s,你可以从中删除一些字符,使得剩下的串是一个回文串。如何删除才能使得回文串最长呢? 输出需要删除的字符个数。
摘要: // ConsoleApplication1.cpp : 定义控制台应用程序的入口点。 // include "stdafx.h" include include include include include using namespace std; int getStr(string str1,
阅读全文
posted @ 2017-04-01 21:01 wdan2016
阅读(1917)
评论(0)
推荐(0)
编辑
公告