What is the error? Please post the full text of the error.
BTW, you have a spelling error on line 8 (assuming that's not a global that you have not shown).
Line 11: subset is a vector of vectors. Therefore, subset[i] is a vector. std::vector does not overload the << operator, therefore cout does not know how to format a vector.
error: cannot bind 'std::ostream { aka std:: basic_ostream<char>)' lvalue to 'std::basic_ostream<char>&&
error: initializing argument 1 of 'std::basic_ostream<CharT, _Traits>& std::operator<<std:: basic_ostream<harT, _Trats>>&&, const_ Tp&) [with _CharT= char; _Traits= std:: char_traits <char>; _Tp=std::vector<int>}'
how I have to make another two for ?
Your subset is a vector<vector<int>> you can only print a single element of your vector, not an entire vector, unless you overload the insertion operator<< to print a vector<int>.
To print a single element you will need something like subset[i][j].