题解 1206: 字符串问题 摘要:解题思路:1.首先,定义一个字符串2.运用gets函数输入3.获得字符串的长度4.字符串的长度与数组的实际为序大15.从后向前输出字符串注意事项:参考代码:#include<stdio.h> #in…… 题解列表 2022年03月08日 0 点赞 0 评论 280 浏览 评分:0.0
用指针完成颠倒位置 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void DD(char *a){ char *p = a; char temp; while(*a != '\0') …… 题解列表 2018年03月17日 0 点赞 0 评论 804 浏览 评分:0.0
编写题解 1206: 字符串问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str; c…… 题解列表 2022年03月31日 0 点赞 0 评论 162 浏览 评分:0.0
1206: 字符串问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[50]; gets(str); int len=strlen(str); fo…… 题解列表 2022年06月23日 0 点赞 0 评论 179 浏览 评分:0.0
字符串翻转秒解决 摘要:#include #include #include using namespace std; //回文串 int main() { string s1; cin>>s1;…… 题解列表 2022年10月22日 0 点赞 0 评论 175 浏览 评分:0.0
编写题解 1206: 字符串问题(最短) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string a;//定义 cin>>a;//输出 …… 题解列表 2022年11月04日 0 点赞 0 评论 212 浏览 评分:0.0
编写题解 1206: 字符串问题 摘要:##编写题解 1206: 字符串问题 ```cpp #include using namespace std; int main() { string s; cin>>s; fo…… 题解列表 2023年02月04日 0 点赞 0 评论 172 浏览 评分:0.0
字符串问题——抽象JAVA 摘要:解题思路:StringBuilder反转参考代码:import java.util.*;public class Main { public static void main(String[] arg…… 题解列表 2023年04月06日 0 点赞 0 评论 402 浏览 评分:0.0
C++ string类:字符串问题 摘要:# C++ string类 ```c++ #include using namespace std; int main() { string s; getline(c…… 题解列表 2023年06月05日 0 点赞 0 评论 437 浏览 评分:0.0
菜鸡写法,分情况就ok 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<string>#include<cstring>#include<algorithm>#include<cmath…… 题解列表 2023年12月24日 0 点赞 0 评论 278 浏览 评分:0.0