//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64#include <iostream>#include <fstream>#include <string>using namespace std;int main(){ fstream f("F1.txt"); size_t max_size; string s, max_word, word; while ( getline(f, s) ) { istringstream is(s); max_size = 0; while (is >> word) { if (max_size < word.size()) { max_size = word.size(); max_word = word; } else if (max_size == word.size()) { max_word += " = "; max_word += word; } } cout << max_size << ' ' << max_word << endl; }}_____________________________Пример:asfasfafs sdf sdg xcz zxcvxcv sdggsd asdgsdgsgdgsd sdagsdg gsd sdg sdg sdggg sdg shОтвет:9 asfasfafs7 zxcvxcv7 asdgsdg7 sdagsdg3 gsd = sdg = sdg5 sdggg