如上所示
程序是自动判断的比如#include<iostrteam>using namespace std;int main(){ for(string s; cin>>s; cout<<s<<endl);}