<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tei3344</author_name>
  <author_url>https://blog.hatena.ne.jp/tei3344/</author_url>
  <blog_title>土下座しながら探索中</blog_title>
  <blog_url>https://ncastar.hatenablog.com/</blog_url>
  <categories>
    <anon>UVa</anon>
    <anon>動的計画法</anon>
  </categories>
  <description>問題リンク：Maximum Sum問題概要： N*Nの2次元配列が与えられる この中から作れる長方形のうちその要素の和が最大のものをみつけよ解法： よくあるDP memo[y][x] := memo[y-1][x] + memo[y][x-1] - memo[y+1][x+1] + array[y][x]という配列を用意する arrayは入力で与えられる2次元配列 memoは(0,0)から(x,y)までの長方形の要素の和を表す後は長方形の左上と右下をループで決めて、memoを以下の様に利用して面積を求める 左上を(x1,y1),右下を(x2,y2)とする この長方形の要素の和をSとする S =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fncastar.hatenablog.com%2Fentry%2F20131122%2F1385136232&quot; title=&quot; UVa 108 : Maximum Sum  - 土下座しながら探索中&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-11-22 01:03:52</published>
  <title> UVa 108 : Maximum Sum </title>
  <type>rich</type>
  <url>https://ncastar.hatenablog.com/entry/20131122/1385136232</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
