<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TobiasGSmollett</author_name>
  <author_url>https://blog.hatena.ne.jp/TobiasGSmollett/</author_url>
  <blog_title>tobiasの日記</blog_title>
  <blog_url>https://tobiasgsmollett.hatenadiary.org/</blog_url>
  <categories>
    <anon>AOJ</anon>
    <anon>動的計画法</anon>
  </categories>
  <description>問題文 http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0089 動的計画法で解いた。 dp[ i行目 ][ j列目 ]:=最大コストとすると、i行目のj列目にはi-1行目の同じj列と i i&gt;N のとき i-1行目のj+1列目 (Nは行数) から来れるので、この2ヶ所までのパスの最大コスト+i行j列の値 という式で計算できる。 #include&lt;iostream&gt; #include&lt;vector&gt; #include&lt;algorithm&gt; #include&lt;string&gt; using namespace std; int mai…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftobiasgsmollett.hatenadiary.org%2Fentry%2F20130602%2F1370175981&quot; title=&quot;0089:The Shortest Path on A Rhombic Path - tobiasの日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-06-02 21:26:21</published>
  <title>0089:The Shortest Path on A Rhombic Path</title>
  <type>rich</type>
  <url>https://tobiasgsmollett.hatenadiary.org/entry/20130602/1370175981</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
