1093: 字符逆序 摘要:```cpp #include using namespace std; int main(){ char str[100]; gets(str); //用gets输…… 题解列表 2022年03月07日 0 点赞 0 评论 168 浏览 评分:0.0
1093: 字符逆序 摘要:解题思路:注意事项:参考代码:public class test1093 { public static void main(String[] args) {// 将一个字符串st…… 题解列表 2022年02月28日 0 点赞 0 评论 205 浏览 评分:9.9
c语言利用指针解决(代码简洁) 摘要:```c #include int main() { char str[100]; char* p=str, * q=str;//定义两个指针变量,并指向数组首地址 gets(str…… 题解列表 2022年02月26日 0 点赞 0 评论 188 浏览 评分:9.9
1093: 字符逆序(C语言版) 摘要:**具体代码:** ```c #include #include int main() { char str[100]; gets(str); for (int i = strl…… 题解列表 2022年02月09日 0 点赞 0 评论 158 浏览 评分:0.0
用切片来写 摘要:a=input()count=len(a)z=count-1q=countfor i in range(count): print(a[z:q],end='') z-=1 …… 题解列表 2022年02月02日 0 点赞 0 评论 352 浏览 评分:9.9
1093: 字符逆序(c++) 摘要:解题思路:注意事项:主义头文件#include<string>参考代码:#include <iostream>#include<string>using namespace std;int main(…… 题解列表 2022年01月24日 0 点赞 0 评论 177 浏览 评分:9.9
编写题解 1093: 字符逆序c语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; gets(a); for(int i=…… 题解列表 2022年01月16日 0 点赞 0 评论 249 浏览 评分:0.0
字符逆序------------- 摘要:解题思路:使用切片参考代码:s=input() s=s[::-1] print(s)…… 题解列表 2022年01月08日 0 点赞 0 评论 192 浏览 评分: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
1093: 字符逆序 摘要:直接用 reverse 函数将字符串逆序。#include <bits/stdc++.h> using namespace std; int main() { string s; …… 题解列表 2021年12月23日 0 点赞 0 评论 179 浏览 评分:0.0