题解 1200: 回文串

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

筛选

回文串-题解(C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() {     char a[255] ; int len……

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

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

1200: 回文串

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

回文串-字符串处理(C++)

摘要:参考代码:#include<cstdio>#include<cstring>const int maxn = 256;   //判断字符串str是否是“回文串”bool judge(char str[……