题解 1196: 去掉空格

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

去掉空格 (C++代码)

摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <vector> #include <……

去掉空格 (C++代码)水

摘要:解题思路:    水水水,利用string参考代码:#include<bits/stdc++.h> using namespace std; int main(){ string kk; ……

去掉空格 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[100]={0};char b[100]={0};int……

去掉空格 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    char a[100];    int flog=0,i,t=0;    while(gets(a)!=N……

LJ超简单 9行代码

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){   char c;   while(~scanf("%c",&c)){        if(c != &#39;……

去掉空格 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { string s;……

去掉空格 (C语言代码)

摘要:解题思路:没过多的限制注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[1000];    int t,i;    ……

去掉空格-题解(C语言代码)

摘要:此题考察的是%s与gets函数的区别,只要了解了就能解决了此题 还有此题的条件中不能用!=EOF结束,不说了,直接看代码 ```c #include int main() { c……