题解 1093: 字符逆序

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

筛选

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='')    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) {……

1093: 字符逆序

摘要:直接用 reverse 函数将字符串逆序。#include <bits/stdc++.h> using namespace std; int main() {     string s; ……