字符逆序-题解(Python代码)python列表自带reserve()方法,有点取巧 摘要:解题思路:注意事项:参考代码:n = list(input()) n.reverse() print(''.join(n))…… 题解列表 2021年02月19日 0 点赞 0 评论 200 浏览 评分:0.0
StringBuffer里面的reverse方法 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年01月05日 0 点赞 0 评论 103 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main(void) { char str[100],c; char *be…… 题解列表 2017年07月23日 1 点赞 1 评论 496 浏览 评分:0.0
****************************************************************************字符逆序******************** 摘要:解题思路:注意事项:参考代码:// 题目 1093: 字符逆序#include <bits/stdc++.h>#include <bits/stdc++.h> using namespace std;…… 题解列表 2023年07月18日 0 点赞 0 评论 103 浏览 评分:0.0
字符逆序 (Java代码) 摘要:参考代码:import java.util.Scanner; public class main { public static void main(String[] args){ …… 题解列表 2018年01月20日 0 点赞 0 评论 696 浏览 评分:0.0
字符逆序 (C++代码) 摘要:解题思路:algorithm头文件注意事项:参考代码:#include <iostream>#include <algorithm>#include <string> using namespace …… 题解列表 2018年05月26日 4 点赞 0 评论 497 浏览 评分:0.0
字符逆序 (Java代码) 摘要:解题思路:用字符截取的方法来做到字符逆序注意事项:str1=str.substring(i, i+1)+str1;将截取的字符放在最前面实现累加, eg;输入abc; …… 题解列表 2019年02月04日 0 点赞 0 评论 470 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[100]; int i,len; …… 题解列表 2019年05月13日 1 点赞 1 评论 146 浏览 评分:0.0
1093: 字符逆序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define CHANGE(a,b) t=a,a=b,b=t #define LEN 100 //最大长度 int main() {…… 题解列表 2021年03月02日 0 点赞 0 评论 139 浏览 评分:0.0