自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:def dcvi(m): for i in range(len(m)): print(m[len(m)-1-i],end='')m=i…… 题解列表 2024年06月03日 0 点赞 0 评论 134 浏览 评分:9.9
StringBuilder实现字符反转拼接 摘要:解题思路:注意事项:参考代码: import java.util.Scanner; &n 题解列表 2024年05月20日 0 点赞 0 评论 99 浏览 评分:0.0
1031 字符串反转(注意字符串的长度) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ char a[1000]; …… 题解列表 2024年05月14日 0 点赞 0 评论 98 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) { Scan…… 题解列表 2024年05月09日 0 点赞 0 评论 154 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[100],b[100]; …… 题解列表 2024年04月25日 0 点赞 0 评论 115 浏览 评分:0.0
用stl超级简单 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string a,b; cin>>a,b; reverse(…… 题解列表 2024年04月03日 0 点赞 0 评论 163 浏览 评分:0.0
自定义函数求字符串反转 摘要:解题思路:双指针求字符串反转注意事项:参考代码:#include<stdio.h>#include<string.h>void reverse(char *arr);void reverse(char…… 题解列表 2024年03月26日 0 点赞 0 评论 136 浏览 评分:0.0
[1031]: [编程入门]自定义函数之字符串反转de题解 摘要:解题思路:使用切片把字符串反转注意事项:s=input()不要写成s=s.input()参考代码:s = input()reversed_str = s[::-1]print(reversed_str…… 题解列表 2024年03月24日 0 点赞 0 评论 167 浏览 评分:9.9
逆序字符串最强办法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void jh(char* a, char* b){ char temp = *a; …… 题解列表 2024年03月08日 0 点赞 0 评论 198 浏览 评分:0.0
自定义函数之字符串反转 摘要:解题思路:运用charAt()去依次输出字符串注意事项:注意数组越界参考代码:import java.util.Scanner;public class Main { public static vo…… 题解列表 2024年02月28日 0 点赞 0 评论 187 浏览 评分:9.9