会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
shalins
博客园
首页
新随笔
联系
管理
订阅
2024年1月29日
判断给出回文串能否构成新的回文串
摘要: AC代码如下: #include <bits/stdc++.h> using namespace std; bool judge(string s, int pos){ swap(s[pos], s[pos + 1]); swap(s[s.length() - pos - 1],s[s.length
阅读全文
posted @ 2024-01-29 16:23 shalins
阅读(4)
评论(0)
推荐(0)
编辑