摘要: A题,题意是给一个回文串,问有多少个字符删掉,还是一个回文串 这个题看样例,肯定是从中间开始查相同字符的段长度,没啥难度 代码: #include <bits/stdc++.h> using namespace std; constexpr int limit = (3000000 + 5);//防 阅读全文
posted @ 2022-12-15 08:43 tiany7 阅读(20) 评论(0) 推荐(0) 编辑