Manchester-【字符串问题】 摘要:### 解题思路: 1. 法一:输入一个字符串,求其长度,然后从最后一个字符一次向前输出 1. 法二:把字符串存入栈,然后把栈中元素pop出来 1. 以上两种方法本质上一样,这里采用第二种方…… 题解列表 2020年03月13日 0 点赞 0 评论 1288 浏览 评分:9.9
字符串问题 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2018年04月15日 0 点赞 0 评论 883 浏览 评分:9.9
看不懂直接喷我 摘要:解题思路:注意事项: 看我评论!!!!!参考代码: #include #include int main() { int i; char a[300]; gets (a); int num=strle…… 题解列表 2024年11月11日 0 点赞 1 评论 312 浏览 评分:9.9
字符串的逆置 摘要: 用两个数组实现字符串的逆置 #include #include int main() { char s[256],b[256]; …… 题解列表 2024年03月21日 0 点赞 0 评论 213 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { Sc…… 题解列表 2024年01月30日 0 点赞 0 评论 456 浏览 评分:9.9
字符串问题-题解(C++代码) reverse -- 又一个实用小技巧 摘要:题目描述 字符串处理在计算机中有很多复杂的操作,但是这些复杂的操作都是由基本的字符串操作复合而成,要求编写一字符串颠倒的程序,把字符串中的字符颠倒位置。 ------------ 输入 …… 题解列表 2020年05月18日 0 点赞 0 评论 1055 浏览 评分:9.9
我奶奶都会 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int i; char a[300]; gets(a)…… 题解列表 2023年06月18日 0 点赞 0 评论 619 浏览 评分:9.9
Kanna-字符串问题--C++ 摘要:C++在实现字符串逆序时可以使用string头文件中的函数 #include #include using namespace std; int mai…… 题解列表 2020年01月15日 0 点赞 0 评论 875 浏览 评分:9.9
超级简洁易懂c语言代码 摘要:解题思路:注意事项:一定不要忘记初始化数组,试了好多次都是错的,最后把数组初始化一下就对了!参考代码:#include #include int main () { char sz1[25…… 题解列表 2022年05月13日 0 点赞 0 评论 360 浏览 评分:9.9
1206: 字符串问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[1001]; scanf("%[^\n]",str);…… 题解列表 2023年03月28日 0 点赞 0 评论 171 浏览 评分:9.9