12345678910111213141516171819202122232425
#include<iostream> #include<sstream> #include<string> using namespace std; int mian() { string s; getline(cin,s); istringstream iss(s); vector<string>v; while(iss) { string val; iss>>val; v.push_back(val); } for(auto i:v) cout<<i<<endl; return 0; }