#include <iostream>
#include <string>
using namespace std;
// 循环输入字符串
int main()
{
string str;
while(cin>>str){
if(str=="exit"){
break;
}
cout<<str<<endl;
}
return 0;
}
10102 循环输入字符串
最新推荐文章于 2024-03-19 15:24:41 发布