<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://atcoder.jp/contests/dp/tasks/dp_v 前提知識 全方位木DP 解説 https://atcoder.jp/contests/dp/submissions/3955506全方位木DPをする。 dfs1で0を根として普通に木DPをする。 次に、dfs1で作ったDPを改変しながら、dfs2で全ての頂点を根として答えを計算する。 全方位木DPの様式であり、パターン化されている。 dfs1関数。 木DPは dp[cu] := 頂点cuの部分木の塗り方において、頂点cuが黒色に塗られていて、黒色の頂点が全て連結である塗り方の組み合わせ で作る。 更新式は頂点c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F01%2F12%2F152428&quot; title=&quot;Subtree [Educational DP Contest / DP まとめコンテスト V] - はまやんはまやんはまやん&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>2019-01-12 15:24:28</published>
  <title>Subtree [Educational DP Contest / DP まとめコンテスト V]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/01/12/152428</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
