this is the function
long comb(int n,int k) { if((n==k)(k==0)(n==0)) return 0; if(k>0 && k<n) return (comb((n1),k)+comb((n1),(k1))); }
and this is main
int m,n; cin>>m; cin>>n; cout<<comb(m,n);
Posted 03 October 2012  09:49 AM
long comb(int n,int k) { if((n==k)(k==0)(n==0)) return 0; if(k>0 && k<n) return (comb((n1),k)+comb((n1),(k1))); }
int m,n; cin>>m; cin>>n; cout<<comb(m,n);
Posted 03 October 2012  09:55 AM
Posted 03 October 2012  10:13 AM
Posted 03 October 2012  10:38 AM
Posted 03 October 2012  10:38 AM
Quote
Posted 03 October 2012  01:40 PM

Query failed: unknown local index 'forums_search_posts_main' in search request.
