<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://yukicoder.me/problems/no/778 前提知識 BIT オイラーツアーっぽいやり方 解説 https://yukicoder.me/submissions/307554C(N,2)通りを全探索するのは厳しい。 なので、C(N,2)通りのうち、下にある飾りを全探索することにする。 ある頂点cuについて考えてみる。 クリスマスツリーは頂点0を根とした木構造となっているのだが、下の頂点をcuとして固定すると、 上の頂点として使えるのは、頂点cuの親、そのまた親、…となる。 これは「一方の飾りから上に辿るともう一方の飾りにたどり着ける。」という条件によるものである。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F01%2F01%2F155323&quot; title=&quot;クリスマスツリー [yukicoder No.778] - はまやんはまやんはまやん&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>2019-01-01 15:53:23</published>
  <title>クリスマスツリー [yukicoder No.778]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/01/01/155323</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
