Get all subsets of a matrix C++

前端 未结 0 921
夕颜
夕颜 2020-11-29 02:56

How to get all vectors subset of a matrix in C++?

Input example:

set = {{1,2}, {4,5}};

Output:

subvector1 = { {1,2} }
s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题