回文串 (Java代码) 摘要:Scanner sc=new Scanner(System.in); String ia=sc.nextLine(); String ib=new StringBuffer(ia).rev…… 题解列表 2018年08月24日 0 点赞 0 评论 1477 浏览 评分:2.0
1200: 回文串(详细简单暴力解) 摘要:#include #include int main() { char a[256]; fgets(a, sizeof(a), stdin); // 去除fge…… 题解列表 2024年11月13日 0 点赞 0 评论 475 浏览 评分:0.0
莉露编写题解 1200: 回文串 摘要:解题思路:for循环最左最右先比,逐渐往中间看注意事项:注意嵌套顺序参考代码:#include<stdio.h>#include<string.h>#define MAX 25…… 题解列表 2026年02月13日 0 点赞 0 评论 264 浏览 评分:0.0
数组回文串 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<string.h>int main() { char arr [255]; …… 题解列表 2024年12月06日 0 点赞 0 评论 564 浏览 评分:0.0
回文串-字符串处理(C++) 摘要:参考代码:#include<cstdio>#include<cstring>const int maxn = 256; //判断字符串str是否是“回文串”bool judge(char str[…… 题解列表 2023年01月23日 0 点赞 0 评论 351 浏览 评分:0.0
回文串(回文串特点解法) 摘要:解题思路:知道回文串首尾相同的特点就很好解决。注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char srr[…… 题解列表 2024年11月13日 0 点赞 0 评论 324 浏览 评分:0.0
简易回文串C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[300],b[300]; int i,j=0,is…… 题解列表 2024年02月20日 0 点赞 0 评论 316 浏览 评分:0.0
回文串(Java) 摘要:解题思路:注意事项:参考代码:package arrLast; //题目 1200: 回文串 import java.util.Scanner; public class t_1200 { …… 题解列表 2024年02月01日 0 点赞 0 评论 279 浏览 评分:0.0
回文串——判断一个字符串是否为回文串 摘要:解题思路:利用列表步长为-1时,反向输出注意事项:参考代码:L = list(input())if L == L[::-1]: print('Y')else: print(…… 题解列表 2023年03月18日 0 点赞 0 评论 428 浏览 评分:0.0
1200: 回文串C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=10200;char s[N];int main(){ ci…… 题解列表 2023年12月15日 0 点赞 0 评论 385 浏览 评分:0.0