#include<bits/stdc++.h> using namespace std; int main(){ string str; getline(cin,str); int n=str.length(); for(int i=0; i<n; i++){ if(str[i]==' '&&str[i+1]==' '){ continue; } cout<<str[i]; } return 0; }
微信直接扫码登录
使用经过邮箱注册的账号密码登录