| 20 | subset.pop_back(); |
| 21 | } |
| 22 | int main(){ |
| 23 | cin.tie(0)->sync_with_stdio(0); |
| 24 | int n; |
| 25 | cin>>n; |
| 26 | std::vector<int> nums(n); |
| 27 | for (int i = 0; i < n; ++i) |
| 28 | { |
| 29 | cin>>nums[i]; |
| 30 | } |
| 31 | vector<int> emp; |
| 32 | generate(emp,0,nums); |
| 33 | for(auto i:ex){ |
| 34 | for(auto j:i){ |
| 35 | cout<<j<<" "; |
| 36 | } |
| 37 | cout<<endl; |
| 38 | |
| 39 | |
| 40 | } |
| 41 | return 0; |
| 42 | } |
nothing calls this directly
no test coverage detected