#include #include using namespace std; string resWord, curWord, alphabet; int counter=0, k, n, len; bool isReady=0; bool isInterest(string s) { bool interest=1; int l=s.length(); string clone(s); //cout<=s){ interest=0; break; } } return interest; } void generateWords(int ind, int let) { //cout<>alphabet; len=alphabet.length(); //int k, n; inpf>>k>>n; inpf.close(); curWord=string(k, '\0'); generateWords(0, 0); ofstream outf("nthword.out", ios::out); outf<