动态规划。cur = pre1 + pre2中:cur表示当下有几种放法,pre2表示上上轮有几种放法,pre1表示上一轮有几种放法
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务