5492

HDU 5492 Find a path 题解

# Description 在矩阵中,找一条到从 $(1,1)$ 到 $(n,m)$(只能向上,右走)的路径,使路径上方差最小。输出方差平方乘 $n+m-1$ 的结果。 对于所有数据,$1\leq n,m,A_{i,j}\leq30$。 # Solution 设路径上的数为 $A_{1},A_{2} ......
题解 5492 Find path HDU
共1篇  :1/1页 首页上一页1下一页尾页