题解 1031: [编程入门]自定义函数之字符串反转

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

自定义函数之字符串反转

摘要:解题思路:注意事项:参考代码:def dcvi(m):    for i in range(len(m)):        print(m[len(m)-1-i],end='')m=i……

用stl超级简单

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string a,b; cin>>a,b; reverse(……

自定义函数求字符串反转

摘要:解题思路:双指针求字符串反转注意事项:参考代码:#include<stdio.h>#include<string.h>void reverse(char *arr);void reverse(char……

逆序字符串最强办法

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void jh(char* a, char* b){    char temp = *a;   ……

自定义函数之字符串反转

摘要:解题思路:运用charAt()去依次输出字符串注意事项:注意数组越界参考代码:import java.util.Scanner;public class Main { public static vo……