<?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>
    <anon>再帰</anon>
  </categories>
  <description>問題 高さhの完全二分木がある。これに対してq個の次のようなクエリに答えよ。 add v e 頂点vにeの電荷を加える decay 木のdecay（後述）を求める。 木のdecayとは、次のようにして計算される値である。 木の葉をランダムに一つ選ぶ。木の根から、その葉までのパスに含まれる全ての辺を取り除く。 連結成分ごとに、電荷の和を取り、その最大値の期待値を求める。 制約条件 h≦30 -1000≦e≦1000</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20111129%2F1322492611&quot; title=&quot;Codeforces 68 D. Half-decay tree - 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>2011-11-29 00:03:31</published>
  <title>Codeforces 68 D. Half-decay tree</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20111129/1322492611</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
