回文串-题解(C/C++代码) #include#include#include#includeusingnamespacestd;intmain(){chars[300];gets(s);for(inti=0,j=strlen(s)-1;i 题解列表 2020年01月04日 0 点赞 0 评论 1969 浏览 评分:9.9
回文串-题解(C语言代码)值得参考 #include#includeintmain(){charx[1000];gets(x);inti,j;if(strlen(x)==1){printf("Y\n");gotoL;}for(i=0,j=strlen(x)-1;i 题解列表 2019年12月01日 0 点赞 0 评论 1814 浏览 评分:9.9
回文串 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int f(char a[]){ int i,j,k; k=strlen(a); for(i=0,j…… 题解列表 2019年04月22日 0 点赞 0 评论 1149 浏览 评分:0.0
。。串串。。:回文串 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main() { int i,flag=1; char a[260]; gets(…… 题解列表 2019年03月08日 1 点赞 0 评论 2072 浏览 评分:0.0
回文串 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main(){ char str[255]; while(gets(str)){ …… 题解列表 2018年10月13日 0 点赞 0 评论 1480 浏览 评分:0.0
回文串 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000]; gets(a); int i=strlen(a)…… 题解列表 2018年07月26日 2 点赞 0 评论 1611 浏览 评分:0.0
回文串 (C语言代码) 摘要:解题思路:主要是要考虑怎么接受字符串我用的是数组,用gets()函数来接受注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>…… 题解列表 2018年07月01日 0 点赞 0 评论 1708 浏览 评分:0.0
回文串 (C语言代码) 摘要:解题思路:两头往中间走,相同继续走,不同就跳出,最后比对i,j参考代码:#include<stdio.h>#include<string.h>int main(){ char s[260]; …… 题解列表 2018年05月13日 0 点赞 0 评论 1322 浏览 评分:0.0
回文串 (C语言代码)这类题目的通用解法,易理解 摘要:参考代码如下:#include <stdio.h> #include <string.h> #include <stdlib.h> int main(void) { char str[…… 题解列表 2018年04月16日 0 点赞 0 评论 2425 浏览 评分:6.0
指针写法,简单易懂(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>char isHWC(char *a){ char *p = a; while(*a != '\0') { a++; …… 题解列表 2018年03月17日 0 点赞 0 评论 1831 浏览 评分:0.0