题解 1093: 字符逆序

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

筛选

字符逆序 (Java代码)

摘要:解题思路:利用StringBuffer类的reverse()方法,简单方便注意事项:定义一个String类,转化为StringBuffer类,然后使用reverse()反转字符串。参考代码:impor……

字符逆序-题解(C语言代码)

摘要:# MarkDown编辑器基本使用说明 **如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。** ## 实时预览、全屏显示 ![……

字符逆序 (C++代码)

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string.h> using namespace std; int main() { c……

字符逆序 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char ch[100]; int i,j,t=0; printf("请……

字符逆序 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int k,i; char str[100]; gets(str); k=s……

字符逆序 (C语言代码)

摘要:解题思路:由于单语存在一个数组内,对其进行翻转,实际上等效于将其前后调换就可。即,第一个字符和倒数第一个字符进行交换,第二个字符与倒数第二个字符进行交换……,直到字符数组的中间,假设中间这个字符剩单(……

python 超简单写法

摘要:解题思路:注意事项:参考代码x = input()list = [x]if len(x) < 100:    for i in list:        print(i[::-1])……

StringBuffer里面的reverse方法

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……

1093: 字符逆序

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<string>#include<algorithm>//导入algorith……