题解 1200: 回文串

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

回文串-题解

摘要: 参考代码:#include"bits/stdc++.h" using namespace std; char str[280]; bool check(char *s,int a,int b)……

回文串思路和参考代码(C语言)

摘要:解题思路:首先注意到字符串长度小于255,所以我们定义一个255个存储单元的数组即可,然后用scanf读入字符串,strlen函数得到字符个数,最后for循环判断。注意事项:参考代码:#include……

1200: 回文串

摘要:回文串判断,直接 equal 函数往上拍。#include <bits/stdc++.h> using namespace std; int main(){     string s;  ……