题解 1093: 字符逆序

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

筛选

字符逆序(c语言极简)

摘要:解题思路:一口气读入后跳过末尾&#39;\0&#39;后直接输出,清晰明了,简单粗暴注意事项:注意跳过&#39;\0&#39;即可参考代码:#include<stdio.h>#include<stri……

1093: 字符逆序

摘要:```cpp #include using namespace std; int main(){ char str[100]; gets(str); //用gets输……

1093: 字符逆序

摘要:解题思路:注意事项:参考代码:public class test1093 {    public static void main(String[] args) {//        将一个字符串st……

用切片来写

摘要:a=input()count=len(a)z=count-1q=countfor i in range(count):    print(a[z:q],end=&#39;&#39;)    z-=1 ……

1093: 字符逆序(c++)

摘要:解题思路:注意事项:主义头文件#include<string>参考代码:#include <iostream>#include<string>using namespace std;int main(……

StringBuffer里面的reverse方法

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