这题只需使用getline函数和cout语句以及对字符串的定义即可AC
#include<bits/stdc++.h> using namespace std; int main() { string s; getline(cin,s); cout<<s<<endl; return 0; }