【组合数学 && dp[i][j] = a*dp[i, j-1] + b*dp[i-1,j]+c 求 dp[n][n]】Gym - 101480F Frightful Formula
Step1Problem:已知a,b,ca,b,ca,b,c和dp[k][1],dp[1][k]dp[k][1],dp[1][k]dp[k][1],dp[1][k]其中k=1,2,3,...,n.k=1,2,3,...,n.k=1,2,3,...,n.dp[i][j]=a∗dp[i][j−1]+b∗dp[i−1][j]+c;dp[i][j]=a*dp[i][j-1]+b*dp[i-1][j]+c;