<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>geam1113</author_name>
  <author_url>https://blog.hatena.ne.jp/geam1113/</author_url>
  <blog_title>geam1113’s diary</blog_title>
  <blog_url>https://geam1113.hatenablog.com/</blog_url>
  <categories>
    <anon>ABC</anon>
    <anon>二分木</anon>
    <anon>再帰</anon>
  </categories>
  <description>解説AC 問題へのリンク 公式解説へのリンク テキストとyoutubeの解説の自分用まとめです。特に新しいことはありません。公式を見た方が詳細です。 二分木として考える 各文字が2つの文字になることを順に図示すると、二分木の構成になります。 よって、この問題は、 を根とする二分木における、深さで番目の文字を求めよ という問題と見ることができます。 における0,1,2をA,B,Cに対応させます。 Aの左子ノードがB、右子ノードがCであるとします。 左子ノードに進むことは、において+1すること、右子ノードに降りることは+2することと同じです。B,Cにおいても同様に考えることができます。 よって、親…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgeam1113.hatenablog.com%2Fentry%2F2022%2F03%2F10%2F194927&quot; title=&quot;ABC242D ABC Transform - geam1113’s diary&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>2022-03-10 19:49:27</published>
  <title>ABC242D ABC Transform</title>
  <type>rich</type>
  <url>https://geam1113.hatenablog.com/entry/2022/03/10/194927</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
