#include
#include
#include
#include
using namespace std;
int main(int argc, char** argv) {
cout << "string: "; <br> string s; getline(cin, s);
istringstream ss(s);
vector v;
while (ss >> s) v.push_back(s);
int j=v[0].size(),k=0;
for (int i=1; i if (v[i].size()>j) { j=v[i].size(); k=i;}
cout<<"long word: "<<v[k]<<endl<<endl;<br> system("pause");
return 0;
}