Hifipsysta-1196-去掉空格(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string str, str_dup; while…… 题解列表 2022年02月05日 0 点赞 0 评论 188 浏览 评分:0.0
含有结束语句的去空格程序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[100]; int i,j[100],k=0; char en…… 题解列表 2022年01月24日 0 点赞 3 评论 472 浏览 评分:9.9
去掉空格C语言 摘要:#include<stdio.h>#include<string.h>int main(){ char str[100],str1[100];int i,k=0; while(gets(s…… 题解列表 2022年01月17日 0 点赞 0 评论 120 浏览 评分:0.0
编写题解 1196: 去掉空格(避免使用gets()的解法) 摘要:### 前言 **看到大家用的都是gets的解法,而gets由于输入易溢出的问题已经不时兴了。这里为大家提供只用scanf的方法。 ****可改进之处欢迎各位大佬指正** ```c #inc…… 题解列表 2022年01月16日 0 点赞 4 评论 216 浏览 评分:9.0
1196: 去掉空格(最简代码) 摘要:解题思路:使用if判断,如果不是空格的话则打印参考代码:#include <stdio.h> int main() { char p; while(scanf("%c",&p)!=E…… 题解列表 2022年01月09日 0 点赞 1 评论 504 浏览 评分:9.9
1196: 去掉空格 摘要:关键是运用find()函数和erase()函数。#include<bits/stdc++.h> using namespace std; int main(){ vector<in…… 题解列表 2021年12月10日 0 点赞 0 评论 547 浏览 评分:0.0
简单易懂-------不妨看看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char arr[80]; while (gets(arr)) { for…… 题解列表 2021年11月28日 0 点赞 0 评论 159 浏览 评分:0.0
去掉空格【C语言】 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[100];int i,j[100],k=0; while(ge…… 题解列表 2021年11月21日 0 点赞 1 评论 666 浏览 评分:9.9
C语言一看就会的题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str1[81]; int i,l,j; while(gets(s…… 题解列表 2021年10月27日 0 点赞 0 评论 165 浏览 评分:0.0