注意:此页面搜索的是所有试题
编程:求组合数。组合数的公式如图所示: 部分程序如下: #include int fact( int n) { int i; int result = 1; for(i = 2; i <= n; i++) ( ) return result; } int main(void) { int m, n, p; scanf("%d%d", &m, &n); ( ) printf("p=%d\n", p); return 0; }

参考答案