include[HTML_REMOVED]
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main()
{
char line[100];
cin.getline(line,100);
int n=strlen(line);
for(int i=0;i<n;i)
{
int j=i;
while(j<n&&line[j]!=’ ‘) j;
for(int k=i;k<j;k++) printf(“%c”,line[k]);
i=j;
cout<<endl;
}
//输入abc def ghi
/输出:
abc
def
ghi/
return 0;
}