题解 1200: 回文串

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

筛选

回文串 (Java代码)

摘要:解题思路:首先将输入的字符串a利用StringBuffer逆序处理得到字符串b然后利用循环对字符串进行访问即可注意事项:参考代码:import java.util.Scanner; public……

回文串 (C语言代码)

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

回文串 (C++代码)

摘要:解题思路:   可以尝试用c++来解决, 这样子更方便注意事项:参考代码:#include<stdio.h>#include<string.h>#include<string>#include<alg……

回文串 (Java代码)

摘要:Scanner sc=new Scanner(System.in); String ia=sc.nextLine(); String ib=new StringBuffer(ia).rev……

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

摘要:```c #include #include #define N 256 // 1、先将数组逆序一个个赋值给一个新的数组 // 2、再拿新的数组和原来的数组进行比较,相同则输出'Y',否则输……

回文串 (Java代码)

摘要:解题思路:注意事项:参考代码:import java.util.*;public class 回文 { public static char huiwen(String a) {  int n=0; ……