<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yutas213</author_name>
  <author_url>https://blog.hatena.ne.jp/yutas213/</author_url>
  <blog_title>yutasの競技プログラミング勉強帖</blog_title>
  <blog_url>https://yutas.hatenadiary.com/</blog_url>
  <categories>
    <anon>CF1900</anon>
    <anon>Codeforces</anon>
    <anon>C++</anon>
    <anon>Div.2</anon>
    <anon>Codeforces Round 911</anon>
    <anon>Diff 1300</anon>
    <anon>木構造</anon>
    <anon>DP</anon>
    <anon>再帰</anon>
    <anon>競技プログラミング</anon>
  </categories>
  <description>問題 頂点 を根とした 頂点の二分木がある。 各頂点は最大で2個の子を持っており、また頂点 は文字 をそれぞれ持っている。 ただし、 は U, L, R のいずれかである。 この二分木について、頂点 から以下のように動くことを考える。 いまいる頂点での文字が U ならば、その親の頂点に移動する。存在しない場合は何もしない。 いまいる頂点での文字が L ならば、その左側の子の頂点に移動する。存在しない場合は何もしない。 いまいる頂点での文字が R ならば、その右側の子の頂点に移動する。存在しない場合は何もしない。 この二分木に対して、以上の動作から葉に辿り着くためには、 を何個変えなければならな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyutas.hatenadiary.com%2Fentry%2F2023%2F12%2F18%2F223000&quot; title=&quot;C - Anji&amp;#39;s Binary Tree / Codeforces Round 911 (Div. 2) - yutasの競技プログラミング勉強帖&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>2023-12-18 22:30:00</published>
  <title>C - Anji's Binary Tree / Codeforces Round 911 (Div. 2)</title>
  <type>rich</type>
  <url>https://yutas.hatenadiary.com/entry/2023/12/18/223000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
