的实现">1. 的实现2. 1. 的实现int ans = 0, temp = m;for (int i = 0; i < n - 1; i++) { temp *= m - i; ans += temp;} 2.