c++递归学习_组合_普通选择性组合排列。
Sample Input
5 3
1 2 3 4 5
Sample Output
123
124
125
134
135
145
234
235
245
345
[cpp] view plaincopy
#include <iostream>
using namespace std;
const int len = 10;
int totalN;
int selectM;
int mat[len];
int result[len];
vo[......]