大佬看看哪里不对。 #include<iostream> #include <vector> using namespace std; long long Combinations(int n, int m) { vector<vector<long long>>dp(n + 1, vector<long long>(m + 1, 0)); for (int i = 0; i <= n; ++i) { dp[i][0] = 1; } for (int i = 1; i <= n; ++i) { for ...