Backtracking

using namespace std;
 * Generarea** **Combinărilor de n luate cate m**
 * 1) include

int n,m,s[100];

void init(int k){ if(k==1) s[k]=0; else s[k]=s[k-1];}

int succesor(int k) { if(s[k]>n; cout<<"m=";cin>>m; bt(1);}