Ответы:
1.а)
2.б)
3.б)
3.б)
Уверен на 80%
5 вопрос не понял
Жопа.жопа дибитки жопа жопа жопа
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
int main()
{
string str = "Hello wordl";
string to_replace, word, result;
stringstream ss( str );
cin >> to_replace;
while (ss >> word)
{
if (word.find(to_replace) != string::npos)
{
word = "...";
}
result += word + " ";
}
cout << result << endl;
}
Масло-Масол
Соринка-росинка