Zadanie 2
using namespace std; std::string replaceLastOccurrence(string tekst, string slowo){string pierwsze = „”;bool firstSet = false; } int main(){string tekst, slowo;getline(cin, tekst);getline(cin, slowo);cout << replaceLastOccurrence(tekst, slowo) << endl;return 0;}