求排列数 int getA(int n, int r){ int ans = 1; for(int i = 0; i < r; ++i) ans *= n-i; return ans;} 数学--欧拉函数&素数&组合数&排列数 2023-07-18 144 点赞 2 评论 218 浏览