<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simezi_tan</author_name>
  <author_url>https://blog.hatena.ne.jp/simezi_tan/</author_url>
  <blog_title>simezi_tanの日記</blog_title>
  <blog_url>https://simezi-tan.hatenadiary.org/</blog_url>
  <categories>
    <anon>動的計画法</anon>
    <anon>グラフ理論</anon>
  </categories>
  <description>問題 n頂点からなる木がある。木には最初s[i]の値がかかれている。 次の操作をm回行う。 数字tiを手に入れる。捨てるか、好きな木の頂点cを選んで数字を置く。 頂点cにもともとあった数字はcの親に行く。cの親vにあった数字はvの親に行く。 ……と同様に根までこの操作が続けられ、根にもともとあった数字は消える。 最後に木に残っている数字の和を最大化したい。 和の最大値を求めよ。 制約条件 n, m≦5000</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20140928%2F1411836450&quot; title=&quot;ARC 029 D - 高橋君と木のおもちゃ - simezi_tanの日記&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-09-28 01:47:30</published>
  <title>ARC 029 D - 高橋君と木のおもちゃ</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20140928/1411836450</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
