差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン両方とも次のリビジョン
programming_algorithm:contest_history:atcoder:2019:0106_educational_dp [2019/01/16] – [解法] ikatakosprogramming_algorithm:contest_history:atcoder:2019:0106_educational_dp [2019/01/16] – [解法] ikatakos
行 243: 行 243:
 $DP[l][r]$ があった時、先頭と末尾のどちらを取るかは、以下の大きい方となる。 $DP[l][r]$ があった時、先頭と末尾のどちらを取るかは、以下の大きい方となる。
  
-  * $-DP[l-1][r]+a_l$+  * $-DP[l+1][r]+a_l$
   * $-DP[l][r-1]+a_{r-1}$   * $-DP[l][r-1]+a_{r-1}$
  
programming_algorithm/contest_history/atcoder/2019/0106_educational_dp.txt · 最終更新: 2019/01/21 by ikatakos
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0