<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Area1</author_name>
  <author_url>https://blog.hatena.ne.jp/Area1/</author_url>
  <blog_title>Area1のif(memo[i][j])</blog_title>
  <blog_url>https://area.hateblo.jp/</blog_url>
  <categories>
    <anon>SRM</anon>
    <anon>DP</anon>
  </categories>
  <description>問題 フェンスが複数あり、それらの長さが与えられる。フェンスを使って三角形をいくつか作るとき、できた三角形の面積の総和を最大化せよ。ただし、複数のフェンスを使って1辺とすることや、1つのフェンスを複数に分割することはできない。 やりかた bitDP。dp[S]:=（Sを使用したフェンスの集合とした時の面積の最大値）でDP。 関数内で、まだ使用していない3辺を指定して再帰をかける。以下ソース。 double dp[1 &lt;&lt; 20]; class GrasslandFencer { public: int N; vector&lt;int&gt; f; double rec(int S){ if((S + 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Farea.hateblo.jp%2Fentry%2F2014%2F10%2F13%2F023528&quot; title=&quot;SRM 314 Div1 Medium GrasslandFencer - Area1のif(memo[i][j])&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>2014-10-13 02:35:28</published>
  <title>SRM 314 Div1 Medium GrasslandFencer</title>
  <type>rich</type>
  <url>https://area.hateblo.jp/entry/2014/10/13/023528</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
