<?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_p 前提知識 木DP 解説 https://atcoder.jp/contests/dp/submissions/3949251木DPをする。 木上での数え上げといえば木DPを最初に疑って問題ないと思う。 隣り合う頂点どおしを黒で塗れないということは、部分木の根の色のみ後々の遷移に関係してくることになる。 dp[cu][c] := 頂点cuを色cで塗ったとき、頂点cuを根とした部分木を塗る組み合わせ c=0で白、c=1で黒とする。 すると、dp[cu][0]は子供の塗られ方はどちらでもいいので、dp[cu][0]は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F01%2F11%2F002932&quot; title=&quot;Independent Set [Educational DP Contest / DP まとめコンテスト P] - はまやんはまやんはまやん&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-11 00:29:32</published>
  <title>Independent Set [Educational DP Contest / DP まとめコンテスト P]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/01/11/002932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
