【编程入门】字符串反转(Java版) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年09月21日 0 点赞 0 评论 365 浏览 评分:0.0
字符串与字符的应用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[100]; for(int i=0;i<100;i…… 题解列表 2024年09月10日 0 点赞 0 评论 318 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:```java import java.util.Scanner; public class Main { public static void main(String[] args) {…… 题解列表 2024年08月28日 0 点赞 0 评论 403 浏览 评分:9.9
使用fgets输入字符串然后实现反转 摘要:解题思路:可以定义一个数组循环输入,也可以定义一个数组然后使用字符串输入格式 "%s" 输入,还可以使用gets输入(gets不安全,尽量不用),这里使用fgets输入,fgets函数具有三个参数,第…… 题解列表 2024年07月22日 2 点赞 0 评论 515 浏览 评分:10.0
【编程入门】自定义函数之字符串反转 摘要:参考代码:#include<stdio.h>#include<string.h> int exchange(char a[],char b[]){ int i,l,j = 0; l = s…… 题解列表 2024年06月21日 0 点赞 0 评论 373 浏览 评分:9.9
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 385 浏览 评分:0.0
1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<bits/c++.h>using namespace std;int Reverse(char a[],char b[]){ int i=0,n;…… 题解列表 2024年06月08日 1 点赞 0 评论 670 浏览 评分:9.9
自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:def dcvi(m): for i in range(len(m)): print(m[len(m)-1-i],end='')m=i…… 题解列表 2024年06月03日 0 点赞 0 评论 390 浏览 评分:9.9
StringBuilder实现字符反转拼接 摘要:解题思路:注意事项:参考代码: import java.util.Scanner; &n 题解列表 2024年05月20日 0 点赞 0 评论 341 浏览 评分:0.0
1031 字符串反转(注意字符串的长度) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ char a[1000]; …… 题解列表 2024年05月14日 0 点赞 0 评论 313 浏览 评分:0.0