题解 1093: 字符逆序

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

筛选

字符逆序 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>//基本是用栈;栈q放最原始输入的字符串包含空格   栈qhelp是输出的时候将栈q内的单词再调换顺序负负得正的意思struct sqs……

字符逆序 (C语言代码)

摘要:解题思路:正向输入,逆向输出 注意事项:要注意scanf和gets的区别,前者以空格划分字符串参考代码:#include<iostream>#include<cstring>using namespa……

字符逆序 (C语言)mirage解题记录

摘要:解题思路:两个字符串数组,字符串1 输入,逆向赋值给 字符串2注意事项:1.数组下标-1;参考代码:#include<stdio.h> #include<string.h> #define N 1……

字符逆序 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10],b[10]; gets(a); int l=strle……

字符逆序 (C++代码)

摘要:解题思路:STL大法好注意事项:熟悉STL参考代码:#include <iostream>#include <algorithm>#include <string>using namespace st……

字符逆序 (C语言代码)

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

字符逆序 (Java代码)

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

字符逆序 (Java代码)

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

字符逆序 (C语言代码)

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