<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiwawa_star</author_name>
  <author_url>https://blog.hatena.ne.jp/chiwawa_star/</author_url>
  <blog_title>C++競プロ学習日記(仮)</blog_title>
  <blog_url>https://chiwawa-star.hatenablog.com/</blog_url>
  <categories>
    <anon>動的計画法</anon>
  </categories>
  <description>動的計画法 ( DP )の学習として解きました。 例題のねらい：動的計画法におけるメモ配列とDPテーブルの違いを確認する。問題： 要素の int 型配列 が与えられる． の最大値を DP で求めよ問題制約は特になかったので、適当に。( くらい？) 1. メモ化再帰編 解の再帰的定義 個の値の中から最大値を返す関数 を定義します。 正当性の証明 のとき1 以下の要素は 1 つしかない為、最大値は となる。 のとき配列 までの最大値が求まると仮定すると、 までの最大値と を比較すれば、 までの最大値が求まり、よって任意の自然数 について は、配列 から最大値を求める再帰関数として成立する。 計算量…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiwawa-star.hatenablog.com%2Fentry%2F2018%2F01%2F21%2F183827&quot; title=&quot;Max値取得｜動的計画法( DP ) - C++競プロ学習日記(仮)&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://chart.apis.google.com/chart?cht=tx&amp;chl=%20N</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-21 18:38:27</published>
  <title>Max値取得｜動的計画法( DP )</title>
  <type>rich</type>
  <url>https://chiwawa-star.hatenablog.com/entry/2018/01/21/183827</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
