#include using namespace std; class No701{ private : string tmp; vector a; string generateString(){ string t = ""; t += tmp[tmp.size()-1]; for(int i = 0;i < rand()%20+1;i++){ t += char(rand()%25+97); } tmp = t; a.push_back(tmp); return t; } public : No701(string s){ tmp=s; } vector generateList(int n){ for(int i=0;i> N; No701 no701("hello"); vector a = no701.generateList(N); for(string e : a){ cout << e << endl; } return 0; }