01 2024 档案
判断给出回文串能否构成新的回文串
摘要: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
阅读全文