藜麦小笼包


私信TA

用户名:dotcpp0680909

访问量:406

签 名:

刁常潇

等  级
排  名 1207
经  验 3041
参赛次数 0
文章发表 37
年  龄 18
在职情况 学生
学  校 山东管理学院
专  业 软件工程

  自我简介:

一名喜欢走捷径的程序猿

TA的其他文章

#include<bits/stdc++.h>
using namespace std;
deque<char>q;
int main()
{
	char c[100];
	while(cin.getline(c,100))
	{
		for(int i=0;i<strlen(c);i++)
		{
			if(c[i]!=' ')
			{
				q.push_back(c[i]);
			}
		}
		while(!q.empty())
		{
			cout<<q.front();
			q.pop_front();
		}
		cout<<endl;
	}
	return 0;
}


 

0.0分

0 人评分

  评论区

  • «
  • »