<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>d_tutuz</author_name>
  <author_url>https://blog.hatena.ne.jp/d_tutuz/</author_url>
  <blog_title>数学/競プロメモ</blog_title>
  <blog_url>https://tutuz.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>問題 https://beta.atcoder.jp/contests/abc049/tasks/arc065_b 考え方 各頂点が連結なのかどうかを判定する必要があるため、素集合データ構造を使用することが思いつく。道路の K 個のクエリによって N を素集合データ構造 set1 に分割する。同様に鉄道の L 個のクエリで N 頂点を素集合データ構造 set2 に分割する。ここで頂点 i と 頂点 j が set1 も set2 も連結である時は以下のように表すことができる。 i と j が連結 ⇔ set1[i] = set1[j] かつ set2[i] = set2[j] 各頂点 i に対…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftutuz.hateblo.jp%2Fentry%2F2018%2F07%2F25%2F225115&quot; title=&quot;ABC049-D：連結 / Connectivity(400) - 数学/競プロメモ&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/d/d_tutuz/20180725/20180725224900.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-25 22:51:15</published>
  <title>ABC049-D：連結 / Connectivity(400)</title>
  <type>rich</type>
  <url>https://tutuz.hateblo.jp/entry/2018/07/25/225115</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
