题解 1200: 回文串

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

筛选

1200: 回文串C++

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=10200;char s[N];int main(){ ci……

c语言一般解法

#include#includeintmain(){chars[1000],s1[1000];gets(s);intlen=strlen(s);for(inti=len-1,j=0;i>=0;i--,j++){s1[j]=s[i];}s1[len]='\0';if(strcmp(s,

回文串(C++)简单易懂

摘要:参考代码:#include <iostream>#include <string>using namespace std;bool isPalindrome(string str) {    int ……

1200: 回文串

摘要:参考代码:#include<stdio.h> #include<string.h> int main(){ int i,j=0; char a[260],b[260]; gets(a);……

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

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

C语言简单代码

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[256]; int i,j; gets(a); j=strle……

1200: 回文串

```cpp#include#includeusingnamespacestd;intmain(){charch[255];boolfalg=true;gets(ch);for(inti=0;i