DP[i][j] =(j + 1)*DP[i - 1][j]+(i - j)*DP[i - 1][j - 1] DP[i][j]表示前i的排列中有j个<
点赞 10

相关推荐

点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务