#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;cin>>n;
getchar();
string s; int cnt = 0;
while(getline(cin,s)){
cnt++;
cout<<s<<endl;
cout<<endl;
if(cnt==n) break;
}
string s2;
while(cin>>s2){
cout<<s2<<endl;
cout<<endl;
}
return 0;
}
题目 1094: 字符串的输入输出处理
猜你喜欢
转载自blog.csdn.net/qq_43811879/article/details/109104681
今日推荐
周排行