摘要:
1、求组合数C(n,r)的函数 int myc(int n,int r){ int sum=1; for(int i=1;i#include#define maxn 1024int a[maxn+10];int cmp(const void *e1,const void *e2){ return *((int *)e1)-*((int *)e2);}int main(){ int t,n,k; int i,j; scanf("%d",&t); while(t--) { scanf("%d%d",&n,&k); for(... 阅读全文
posted @ 2013-11-13 09:59
清风旋叶
阅读(307)
评论(0)
推荐(0)

浙公网安备 33010602011771号