题解 1200: 回文串

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

筛选

回文串-题解(C++代码)

摘要:```cpp 开头结尾一起判断 #include #include using namespace std; int main(int agrc, char const *arg……

回文串(基础解法)

摘要: 话不多说直接上代码 #include #include int main() { char a[1000]; char b[1000]; //用来复制……

c语言一般解法

摘要:#include #include int main() { char s[1000],s1[1000]; gets(s); int len=strlen(s); ……

回文串(简单易懂c语言)

摘要:解题思路:先把a数组倒叙赋值给b数组,接着比较a,b数组是否相等注意事项:参考代码:                #include <stdio.h>               

秒懂的python代码

摘要:解题思路:理解什么是回文数 注意事项:如何正确处理列表的切片是重点参考代码:ls1=[str(i) for i in input()]if ls1==ls1[::-1]:    print("Y")e……

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

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

java--study||O.o

摘要:参考代码:import java.util.Scanner; public class Main  { public static void main(String[] args)     ……

回文串 (C语言代码)

摘要:解题思路:注意事项:注意空格参考代码:#include<stdio.h>#include<string.h>int main(){    char str1[260],str2[260];    in……