题解 1093: 字符逆序

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

筛选

1093: 字符逆序

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

字符逆序(c语言极简)

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

两行超简单

摘要:解题思路:注意事项:参考代码:s=input() print(s[::-1])……

SinzoL--题解 1093: 字符逆序

摘要:####我是新手,这里只是把让字符逆序的两种方式给罗列了一下 ###第一种:用string变量 ```cpp #include #include #include using namesp……

1093简单的解法

摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。我使用的是自定义函数,注意理解。sasa是我随便写的名字,无碍。参考代码:#include<stdio.h>#include<str……

1093: 字符逆序

摘要:要注意,a数组是一个字符串数组,输入后最后一项是‘\0’,因此第8行的strlen(a)还要-1 ```cpp #include #include using namespace std; ……

指针遍历交换

摘要:解题思路:不算复杂注意事项:注意指针的移动和交换参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#incl……

简单代码数组交换

摘要:解题思路:数组交换注意事项:参考代码:#include<stdio.h>int main(){    char A[100];    char B[100];    int i;    gets(A)……

字符逆序(怀氏C++)

摘要:#include<iostream> using namespace std; #include<algorithm> int main() {     string s;     get……