The sequence is defined by and for .
Let and for
Define an matrix whose values are .
Let be the minimal path sum from (top left) to (bottom right), where each step is either right or down.
You are given , and .
Find .
917. 费用是两项加和时的最小路径和
我们按如下递推定义数列 :,且对诸 ,都有 。
对 ,记 、。
再定义 的矩阵 ,其中 。
记 为:从 的左上角 走到右下角 ,每一步要么向右走、要么向下走,路径上所有数字和的最小值。已知 、、。
求 。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。