<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JunKobayashi</author_name>
  <author_url>https://blog.hatena.ne.jp/JunKobayashi/</author_url>
  <blog_title>JunKobayashi's Diary</blog_title>
  <blog_url>https://junkobayashi.hatenablog.com/</blog_url>
  <categories>
    <anon>アルゴリズム学習</anon>
    <anon>オイラーツアー</anon>
  </categories>
  <description>オイラーツアーと呼ばれているアルゴリズムの存在自体は把握していたが、自分の中で詳細な整理がなされておらず（漠然と「木の2頂点が指定された時にLCAを高速に求めるのに役立つんだとさ」で片付けていた） ABC479 E - Cut and Add 上記の問題を本番ACするのに想像以上の時間がかかってしまい5完には成功したもののパフォーマンスに不満が残る結果となったため、改めてこの記事で整理する。 ※以下では0-indexedを採用し、木の頂点数は\(N\)で、頂点番号は\(0,1,\dots,N-1\)であることを前提とする。 与えられた根付き木（根が指定されていない場合は頂点を任意に一つ選んで根…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjunkobayashi.hatenablog.com%2Fentry%2F2026%2F10%2F14%2F154313&quot; title=&quot;Tin/Toutに基づいたオイラーツアーを理解する - JunKobayashi&amp;#39;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>https://cdn-ak.f.st-hatena.com/images/fotolife/J/JunKobayashi/20261014/20261014132750.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-10-14 15:43:13</published>
  <title>Tin/Toutに基づいたオイラーツアーを理解する</title>
  <type>rich</type>
  <url>https://junkobayashi.hatenablog.com/entry/2026/10/14/154313</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
