字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[100]; int i,len; …… 题解列表 2019年05月13日 1 点赞 1 评论 146 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:可以借用一中间变量temp实现同一数组内就地倒置。注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ char str[100…… 题解列表 2019年05月25日 3 点赞 0 评论 266 浏览 评分:0.0
字符逆序 (C++代码) 摘要: #include #include using namespace std; int main() { string s; getline(cin, s)…… 题解列表 2019年06月13日 0 点赞 0 评论 429 浏览 评分:0.0
字符逆序-题解(C语言代码) 摘要:字符串的输入方法: 格式1:gets(字符数组名); //可以输入带有空格的字符 格式2:scanf("%s", 字符数组名); //由于scanf()输入时遇到空格,回车,制表符会结束,…… 题解列表 2019年07月17日 0 点赞 0 评论 475 浏览 评分:0.0
字符逆序-题解(C++代码) by Zfans. 摘要:```cpp #include #include using namespace std; int main() { char c[100]; cin.getline(…… 题解列表 2019年07月19日 0 点赞 1 评论 290 浏览 评分:9.0
字符逆序-题解(Java代码) 摘要:```java import java.util.Scanner; /** * https://www.dotcpp.com/oj/problem1093.html * @author…… 题解列表 2019年07月31日 0 点赞 0 评论 553 浏览 评分:0.0
字符逆序-题解(C语言代码)(可以直接倒序输出的) 摘要:原题链接:[题解 1093: 字符逆序](https://blog.dotcpp.com/a/6833 "题解 1093: 字符逆序") 可以直接将字符串倒序输出,这是一种方法。 ----…… 题解列表 2019年08月18日 0 点赞 1 评论 489 浏览 评分:8.9
字符逆序-题解(C++代码) 摘要:首发,希望大佬们批评指正 ```cpp #include //万能头文件 using namespace std; int main() { char ch[999]="\0"; …… 题解列表 2019年09月09日 0 点赞 0 评论 1007 浏览 评分:8.5
字符逆序-题解(C++代码) 摘要:```cpp #include #include #include using namespace std; int main() { char str[100]; gets(st…… 题解列表 2019年09月16日 0 点赞 0 评论 491 浏览 评分:0.0
字符逆序-题解(C语言代码) 摘要:简单明了! ```c # include # include int main() { char str1[100]; int len,j=0,i; gets(str1); …… 题解列表 2019年10月08日 0 点赞 0 评论 1552 浏览 评分:0.0