1093字符逆序(一个while和for循环) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[105]; char c; int i=0; while(sc…… 题解列表 2024年05月29日 0 点赞 0 评论 319 浏览 评分:0.0
字符逆序使用reverse求解 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm> using namespace std;int main(){ string s; getli…… 题解列表 2024年12月02日 0 点赞 0 评论 197 浏览 评分:0.0
字符逆序-一个for搞定 摘要:解题思路:注意事项:#include<stdio.h>#include<string.h>intmain(){&…… 题解列表 2025年02月18日 0 点赞 0 评论 180 浏览 评分:0.0
题解 1093: 字符逆序 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ int i; char …… 题解列表 2025年02月27日 0 点赞 0 评论 195 浏览 评分:0.0
求解!!!cin怎么实现??、 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<stdio.h>using namespace std;int fun(){ char ch; ch=ge…… 题解列表 2018年04月07日 13 点赞 0 评论 1353 浏览 评分:2.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int k,i; char str[100]; gets(str); k=s…… 题解列表 2019年04月14日 0 点赞 0 评论 433 浏览 评分:2.0
优质题解 Manchester-字符逆序(稳,附带小问题) 摘要:解题思路:输入字符串,逆序输出;用栈思路(c++)自己运行可以,提交时间超限,别提交;#include<stack> #include<iostream> using namespace std;…… 题解列表 2017年12月30日 42 点赞 20 评论 5261 浏览 评分:7.0
字符逆序-题解(Python代码)最简单的方法!!!极简!!!! 摘要:**代码如下:** x=input("") x=x[::-1] #列表切片,逆序输出 print(x) **此段为凑字数:** 代码少的连题解都发不出去,字数太少!!!…… 题解列表 2019年12月06日 0 点赞 3 评论 959 浏览 评分:7.2
字符逆序-题解(Python代码)(python的简单写法 ) 摘要:python解决字符串方面十分方面 先将字符转化为列表,逆序之后再转化为字符串输出即可。 ```python n=input(str()) if len(n)…… 题解列表 2019年11月13日 0 点赞 0 评论 760 浏览 评分:7.3