简单易懂-------不妨看看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char arr[80]; while (gets(arr)) { for…… 题解列表 2021年11月28日 0 点赞 0 评论 179 浏览 评分:0.0
1196: 去掉空格 摘要:关键是运用find()函数和erase()函数。#include<bits/stdc++.h> using namespace std; int main(){ vector<in…… 题解列表 2021年12月10日 0 点赞 0 评论 564 浏览 评分:0.0
去掉空格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 评论 134 浏览 评分:0.0
Hifipsysta-1196-去掉空格(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string str, str_dup; while…… 题解列表 2022年02月05日 0 点赞 0 评论 208 浏览 评分:0.0
1196: 去掉空格 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int yw;int main(){ while(getline(…… 题解列表 2022年05月10日 0 点赞 0 评论 168 浏览 评分:0.0
编写题解 1196: 去掉空格 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void fun(char a[]){ int i, j; for (i = 0; …… 题解列表 2022年05月12日 0 点赞 0 评论 329 浏览 评分:0.0
题解 1196: 去掉空格 摘要:解题思路:注意事项:参考代码:int main(){ char a[100]; int len,i; char end[]="End of file"; whi…… 题解列表 2022年05月20日 0 点赞 0 评论 328 浏览 评分:0.0
去掉空格C语言 摘要:解题思路:首先赋值,利用循环函数,依次判断,只要遇到空格,就暂时调出循环,否则就打印该值注意事项:参考代码:#include"stdio.h"#include"string.h"int main(){…… 题解列表 2022年06月19日 0 点赞 0 评论 345 浏览 评分:0.0
1196: 去掉空格 摘要:解题思路:(1)思路: ①while循环遍历,输入各字符串, ②char c2[80]={"End of file"}; //设置结束条…… 题解列表 2022年07月25日 0 点赞 0 评论 309 浏览 评分:0.0
不能再复杂了QWQ 摘要:解题思路: 传统思路注意事项: 遇到多个空格直接返回上一行qaq参考代码:#include<stdio.h>#include<string.h>#define HANG 100#defin…… 题解列表 2022年09月01日 0 点赞 0 评论 271 浏览 评分:0.0