```c #include <stdio.h> double fact(int n) { double result = 1; for (int i = 1; i <= n; i++) { result *= i; } return result; } int main() { int m, n; scanf("%d %d", &m, &n); double numerator = fact(n); double denominator = fact(m) * fact(n - m); double combination = numerator / denominator; printf("result = %.0lf\n", combination); return 0; } ``` [2024-11-18 21:24:43 | AI写代码神器 | 138点数解答]