recursively find subsets

后端 未结 4 1191
没有蜡笔的小新
没有蜡笔的小新 2021-01-26 10:37

Here is a recursive function that I\'m trying to create that finds all the subsets passed in an STL set. the two params are an STL set to search for subjects, and a number i >=

4条回答
  •  旧巷少年郎
    2021-01-26 11:17

    I also can't see what this is supposed to achieve.

    If this isn't homework with specific restrictions i'd simply suggest testing against a temporary std::set with std::includes().

提交回复
热议问题