<?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>Codeforces</anon>
    <anon>グラフ理論</anon>
  </categories>
  <description>問題 n頂点からなる木が与えられる。根は0番のノード。 各頂点には水槽がついている。お金をp円もっている。 最初にk個以下の好きなノードを選び、そのノードの水槽に1リットルずつ水を入れる。 次から全ての水槽が空になるまで以下の操作を繰り返す。 水槽のふたを全部あける 好きな水槽を（複数でもよい）選び、ふたを閉める。wリットル水が入った水槽のふたを閉めるのにかかる料金はw円 根の水槽を空にする 木の深さ1の頂点の水槽の水を、その親の水槽に移し変える。その水槽のふたが閉まっていたら飛ばす。親のふたは閉まっていても関係ない。 一つの水槽に（操作の途中の状態も含む）入っていた水の量の最大値を求めよ。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20140408%2F1396929620&quot; title=&quot;Codeforces 414(#240 Div1) D. Mashmokh and Water Tanks - 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-04-08 13:00:20</published>
  <title>Codeforces 414(#240 Div1) D. Mashmokh and Water Tanks</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20140408/1396929620</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
